2010-04-25 92 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/