问题描述
我如何使用Twitter的REST API可以按照用户在像这样的格式:
How using the twitter rest api can i follow a user in something like this format:
有像这是一个非常简单的方法? 感谢
There is a very simple method like this? Thanks
推荐答案
由于Joost的已经发布一起来看看:结果
As Joost already posted take a look at:
https://dev.twitter.com/docs/api/1/post/friendships/create
如果你想使用这个比,直到6月,你的终点不再需要检查OAuth认证:结果
If you want to use this longer than till the end of June you'll need to check out OAuth Authentication:
https://dev.twitter.com/docs/auth/
https://dev.twitter.com/docs/auth/oauth/single-user-with-examples
由于Twitter将通过6月30日下降基本的HTTP验证:结果
Because Twitter will drop basic HTTP Auth by June 30th:
http://www.countdowntooauth.com/
这意味着你将届时需要一些库,如果你不想去与像Python或Ruby,你可以检查出Twurl:的
That means you'll need some library by then, if you don't want to go with with something like Python or Ruby, you could check out Twurl: http://github.com/marcel/twurl/
这篇关于按照通过REST API在叽叽喳喳的用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!