Hi, we’re considering developing a feature for a local utility company’s website, that would integrate with the Twitter API.
The basic idea is that when there is an emergency at the utility company, the field personnel would open the twitter app, post a message on the utility’s official Twitter account, and favorite it.
Whenever a user visits the website, the website would use the Twitter API to see if there are any favorited tweets on the official account. If so, it would display them as alerts.
My concerns are:
- Would we run into problems with rate limiting? During emergencies, thousands of visitors visit the site per hour.
- It looks like “application only authentication” is the most appropriate way to implement this. However I don’t see a simple way to (a) get application keys via the web interface, and (b) use them until the end of time. Am I looking in the wrong place?
- Since we’d be using a secret application key to get the favorited tweets, we’d need to put this behind a proxy service, which would then be accessed via ajax, which adds an additional layer of complexity.
Is this a terrible idea, or is it awesome?
Thanks if you can offer any insight!