Ahmed Elmir
Ahmed Elmir

Reputation: 163

Twitter Follow widget without opening intent

I want to use the twitter "follow-button" widget, but, instead of opening an intent everytime a user clicks on it to view the targetted user, i want it to follow the targetted user directly without opening the intent. Is that possible? If so, how?

Upvotes: 0

Views: 269

Answers (1)

honor
honor

Reputation: 8138

Have you tried this one? https://dev.twitter.com/web/follow-button

The user interaction flow for the Follow Button was designed to be as streamlined as possible and easy to use for developers, website owners and users. There are two simple Follow Button flows, depending on the user’s current state:

Signed in to twitter.com: When clicking the Follow Button, the user will instantly be following the target user.

Not signed in to twitter.com: This will open the Intent box and prompt the user to sign in to twitter.com.

Upvotes: 1

Related Questions