开发者

how to trigger an event whenever a tweet is updated

开发者 https://www.devze.com 2023-01-08 03:47 出处:网络
I wanted to know how to trigger an event (say. storing a tweet from a par开发者_开发知识库ticular user in a text file or mailing it etc.) when a particular user updates his tweets. Do we need to poll

I wanted to know how to trigger an event (say. storing a tweet from a par开发者_开发知识库ticular user in a text file or mailing it etc.) when a particular user updates his tweets. Do we need to poll for the updates every few seconds or is there any other way out.


You can poll every few seconds (more like every minute, otherwise you'll run into the API rate limit), or you could look at using the Streaming API

0

精彩评论

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