link for to be a follower

1 view
Skip to first unread message

Devin

unread,
Mar 6, 2009, 2:22:02 PM3/6/09
to Twitter Development Talk
Hello all,

I'm new to twitter and I hope someone can help me with this question.
I have a page on my website which display a list of statuses. Each
status has two buttons (Follow, Reply) next to it. The link to reply
is

https://twitter.com/home?in_reply_to=[user_name]&in_reply_to_status_id=[status_id]&status=%40[user_name]+

But I don't know what link to follow is. It seems like twitter use
ajax to add follower. Is there a way to add follower similar way to
add a reply.

Thank you!

Peter Denton

unread,
Mar 6, 2009, 2:35:57 PM3/6/09
to twitter-deve...@googlegroups.com
Hi Devin,
There is no URL as such. It must be an explicit action, done though the api.

http://apiwiki.twitter.com/REST+API+Documentation#create

Doug Williams

unread,
Mar 6, 2009, 2:44:56 PM3/6/09
to twitter-deve...@googlegroups.com
Devin,
The friendship create method, just like the status create method,
requires HTTP POST. Therefore they must be invoked through some sort
of server-side script.

However, since you are already sending users to Twitter to update
their status, have you considered simply sending them to a user's
profile (http://twitter.com/<user>) to follow and unfollow through the
Twitter UI?

Doug
@dougw

--
Doug Williams

do...@igudo.com
http://www.igudo.com

Devin

unread,
Mar 6, 2009, 2:49:22 PM3/6/09
to Twitter Development Talk
Yes, that is my second option and it seems like I'm going with that.
Reply all
Reply to author
Forward
0 new messages