开发者

use some twitter api to make people follow some account

I have a task to make people follow some account on twitter as soon as they fill a form 开发者_JAVA百科on our website.

Can I do this using the twitter php api? Or just a redirect or iframe would do the job?

Thanks!

Joe


just need to read the api a bit,

http://dev.twitter.com/doc/post/friendships/create


You can't have a Twitter user automatically follow another account until they give permission. You have to take them through OAuth authentication first, and then when they give you permission to modify their account you can add a follow. But automatically adding a follow without getting their explicit permission, meaning that you explain you are going to do this first, will get your account banned from Twitter. It is a serious violation of their terms of service.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜