ushahidi/Ushahidi_Web — pull request #1131 by solarissmoke (2013-05-31 05:57:11+00:00)
Title: Twitter "test settings" always reports an error

To reproduce: try hitting the "test settings" button on the Twitter settings page. It'll always report a credentials error.

The code in the twitter test controller seems to be expecting an array with a response code in the OAuth response, but that actually contains Twitter's JSON response (no status codes). It should be checking the response code on the OAuth object itself.