开发者

How to automatically post a tweet on twitter

I am working on a site where users can submit data. Is it possible to set up an automated system such that a tweet goes out every time开发者_运维技巧 a new data set is received?


I believe it's possible through their own API: http://apiwiki.twitter.com/w/page/22554648/FrontPage


A good place to start is the Twitter API.


Using Abraham's Oauth library in your application and once you have verified/cleaned user import use the variables in an if statement and then call the library and post a tweet. i have a similar set up for adding films i've seen into a database and it tweets a rating everytime.

I can provide coding example (PHP) later if you need further help.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜