Ali
Ali

Reputation: 1841

Making user follow another user can get its twitter username

I have a button on my website which says "Follow" When a user clicks on this button I want the following to happen:

  1. Twitter login window opens
  2. User enters user/password and logs in
  3. User has now started following
  4. 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.

Upvotes: 0

Views: 116

Answers (1)

Laurent
Laurent

Reputation: 940

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 : )

Upvotes: 1

Related Questions