Search code examples
resttwitterautomationsocial-media-like

Why does Twitter's API provide a way to programmatically create "Likes," if it goes against their Automation rules?


I was looking into using Twitter's official REST API for automatically liking specific posts that fit certain conditions.

I looked into the API reference to see if this was possible—and in fact, there is and endpoint for doing this:

However, looking at Twitter's policies—specifically "Automation rules", it would seem that automating this behavior is explicitly prohibited:

D. Automated actions you take on Tweets or accounts

Automated likes: You may not like Tweets in an automated manner.

This leads to my question: If automating likes in Twitter goes explicitly against the rules, why do they provide an endpoint for this behavior in their official API for developers?


Solution

  • I have written custom Twitter apps. If I want users of my app to be able to "Like" a tweet, I call the Twitter API function that allows me to do so.