Hello,
Just wondering, is it possible to make a twitter bot just with cURL?
For example, could you send a POST request to a Twitter API url and the tweet would appear or do I need to use a package?
Hello,
Just wondering, is it possible to make a twitter bot just with cURL?
For example, could you send a POST request to a Twitter API url and the tweet would appear or do I need to use a package?
You definitely can, see the Twitter API documentation.
The Twit package is pretty good and easy to work with, here’s an example with a bot that posts on a schedule, and requires boosted apps.
And here’s an example that uses webhooks, which let you make a bot that responds to events, like receiving a message or being @ mentioned.
Very neat, thank you so much!