2010-04-25 57 views

回答

6

正如朱斯特已经发布看一看:
https://dev.twitter.com/docs/api/1/post/friendships/create

如果你想使用这个比,直到六月底更长您需要查看OAuth身份验证:
https://dev.twitter.com/docs/auth/
https://dev.twitter.com/docs/auth/oauth/single-user-with-examples

因为Twitter将下降基本HTTP认证通过6月30日:
http://www.countdowntooauth.com/

这意味着你将通过再需要一些库,如果你不想去与像Python或Ruby,你可以看看Twurl:http://github.com/marcel/twurl/