Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twitter follow Url

Hitting the url http://twitter.com/home?status=<status_msg> takes us to the twitter login page and once logged in, the status is already filled in the input box, ready to be tweeted.

Is there a similar url for following somebody on twitter ?

something of the form http://twitter.com/follow?user=<user_to be_followed> so that when this url is hit, the user is taken to login page(if not authenticated), and after a successfull login, the logged in user becomes a follower of the user in the url.

like image 269
letronje Avatar asked Jan 13 '10 08:01

letronje


People also ask

What is Twitter URL address?

You can view your URL in your account settings. Log in to Twitter's website, click the gear icon and then click "Settings." Your full Twitter URL appears immediately below the Username box in this format: http://twitter.com/[username].

How do I share a URL on Twitter?

Post the Tweet. Open your preferred mobile app, or begin a new text message. Type or paste the URL into your Tweet. Links will be adjusted with Twitter's link shortener wherever you post them.


2 Answers

I got information from https://dev.twitter.com/docs/intents#follow-intent and now you can use https://twitter.com/intent/user?screen_name=<twitter_screen_name>

like image 200
khalifavi Avatar answered Sep 20 '22 09:09

khalifavi


https://twitter.com/intent/follow?screen_name=[USERNAME]

in fact, there's a few 'intent', this one is particularly useful

https://twitter.com/intent/tweet?text=[TITLE]&url=[URL]

it is much better to use simple links like these for all sharing buttons than the buttons provided by the social sites which will multiply HTTP requests alarmingly.

like image 41
Chris Pink Avatar answered Sep 18 '22 09:09

Chris Pink