Is there a way to know that a user posted a tweet as soon as he does it? Maybe Twitter can ping your app or something?
What if I have a user base of 10开发者_C百科0.000 users? It's hard to check constantly all.
Thank you, Andrew
Check out the Streaming API, specificially user streams: https://dev.twitter.com/docs/streaming-api/user-streams
You would use the Streaming API for this case. This is exactly what this does, you open a firehose and Twitter pings your application with new tweets every time there is an update based on your query. If your using PHP, you can make implementing the streaming API easier by using the 140 framework.
from streaming API method doc
The default access level allows up to 400 track keywords, 5,000 follow userids and 25 0.1-360 degree location boxes. If you need elevated access to the Streaming API, you should explore our partner providers of Twitter data here.
精彩评论