edsu / anon

tweet about anonymous Wikipedia edits from particular IP address ranges
Creative Commons Zero v1.0 Universal
975 stars 152 forks source link

Check twitter api access at startup #103

Closed DannyCork closed 10 years ago

DannyCork commented 10 years ago

anon.coffee was running fine for 24 hours and then the process died. No logs are available however as I redirected stout I can ascertain that this was due to an issue with the twitter api access:

{ [Error: Unknown Twitter API Error] message: 'Unknown Twitter API Error', statusCode: 401, code: undefined, allErrors: undefined, twitterReply: '{"request":"\/1.1\/statuses\/update.json","error":"Read-only application cannot POST."}' }

Ideally Anon should check twitter access at startup thus preventing the application quitting upon such an error.

DannyCork commented 10 years ago

duplicate