Closed tsega closed 8 years ago
From the documentation linked above:
Tweets: 2,400 per day. The daily update limit is further broken down into smaller limits for semi-hourly intervals. Retweets are counted as Tweets.
Being lazy, I just want to know the gaps between tweets meaning:
2400 tweets = 24 hrs (60sx60mx24h) = 86400s
1 tweet = ?
? = 86400s * 1 tweet / 2400 tweets
? = 36s
So to be on the safe side, if tweets are made every 36s (36000 milliseconds) one will not exceed the daily limits. Waiting for 36s for one tweet in a modern web app is unacceptable, to say the least.
Handling tweets as a batch process makes it easier. The server should push the tweet notifications, and the client should have a visual indicator informing the user that the tweets are progressing.
Using a combination of [raix:eventddp]() and chrismbeckett:toastr packages would achieve the desired result.
The App should be able to calculate the number of tweets it can do based on the Twitter API usage limitations.
It should: