hexacta / sanata

Web application showing auto generated tweets based on a Markov Chain model of a given Twitter user.
https://showcase.hexacta.com/sanata
3 stars 6 forks source link

Handle twitter API rate limit #8

Open pomber opened 7 years ago

pomber commented 7 years ago

Twitter limits the number of requests to 1500 every 15 minutes.
sanata-api should return an error and the front end should display a user friendly message. If user's model was stored in the database, the api should return the old model.