I have a button on my website which says “Follow”
When a user clicks on this button I want the following to happen:
- Twitter login window opens
- User enters user/password and logs in
- User has now started following
- That login window now closes (or a close button clicking on which closes the window) and user is back on my website and I get its twitter username through some API which user just entered so I can insert it in my database.
Is this possible?
What I want to achieve is, I want to get username of users who follow me and save them in database.
In case @penartur’s answer doesn’t work for you, you may want to look at: https://dev.twitter.com/docs/intents/events. Although I have to admit that I’ve never used it : )