Using the twitter api (specifically sending tweets) from a game

I am attempting to use the Twitter API in game, specifically sending tweets from the game. I have tried using this module created by @As8D (https://www.roblox.com/library/458958433/Twitter-API), specifically the api_call function. However, no luck. When I try running this bit of code:
api_call("post", "statuses/update", {status="hello world"})
All I get is an error: Unable to cast value to std::string

How would I go about using the Twitter API? (such as authenticating a user and sending a tweet from the game)

6 Likes

Did you ever find a solution to this?

1 Like

i did it indirectly, via a aws service:

I have not tried to directly post to twitter from a roblox game, that would be nice. in case you want persistence, you can try the above approach

3 Likes