Tweet as user on my website


#1

Flow Chart:

  • User logs into my website
  • I construct a tweet on backend
  • I send a tweet on that user’s behalf without them viewing it

Is this possible?
Is this allowed?

Also: how do I retrieve a list of users that have tweeted with a certain hashtag


#2

This is possible, you’ll need to implement the sign-in with Twitter (3-legged OAuth) flow, and store the user’s token. You should ensure that the user opts-in for you to send a Tweet on their behalf.

In order to retrieve a list of users you’ll need to use the search API to find Tweets containing the hashtag, and pull out the user IDs.


#3

Thanks for the response, I’ll look into it