Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twitter Follow Link

Tags:

twitter

How do I create a link that will automatically make a user follow a certain Twitter user if they're logged in or send them to Twitter to login first if they're not? I had found how to do this about month or 2 ago but can't find it again. I think it was something basic like a link or a form post to something like twitter.com/[user]/follow.

I've looked at the API, but I'd need the user to authenticate themselves on my site, and I don't want to deal with that. I just want them to authenticate directly on Twitter and not worry about it. The way I had found was nice and simple and I just want to find that again.

like image 701
jwynveen Avatar asked Jun 15 '10 19:06

jwynveen


People also ask

What is a Twitter follow button and how does it work?

A Twitter follow button is a button on your website that visitors can click to instantly follow you on Twitter. It’s quick and easy, and should help you to gather more followers – and build a stronger connection with people who might otherwise have left your site without taking any action.

How do I follow people on Twitter?

Use Twitter's web intents. While you can use the follow button, you can also send users directly to the Intent URL, like so: Show activity on this post. Highly active question. Earn 10 reputation (not counting the association bonus) in order to answer this question.

How do people see my following/follower information?

When not logged in, people will see a similar pop-up screen that allows them to view your account's following/follower information, sign in, and then follow you. Log in to your Twitter account.

What is the follow button?

What is the follow button? The follow button allows people to follow your account directly from your personal homepage or any website where the button is installed. When people click this button, the following occurs: When logged in, a small pop-up screen displays with more information about your account when the button is clicked.


1 Answers

Use Twitter's web intents.

While you can use the follow button, you can also send users directly to the Intent URL, like so:

https://twitter.com/intent/user?screen_name=NASA

like image 158
ceejayoz Avatar answered Oct 04 '22 13:10

ceejayoz