abraham/twitteroauth — Issue #113: Can't connect to Twitter
Author: 2bdev
Created: 2011-11-18 01:00:25+00:00
State: open

I have been struggling with the Twitter API and OAuth and tried using this plugin. Seemed to be working well for many, so I am assuming this is a simple oversight on my part perhaps.

When I do a run of the demo, when clicking the Sign in with Twitter button on the connect.php page, I am properly directed to redirect.php but I get the following message (after the getRequestToken call):

Could not connect to Twitter. Refresh the page or try again later.

I cleared the session, refreshed etc and nothing worked. I took note of a few issues logged before and tried changing my callback to a real URL, as well as tried my own key and secret. I checked out the connection object and see that the response code is 401 (Unauthorized) instead of the expected 200.

I can provide further details as needed, just seem to be having a lot of trouble with Twitter OAuth and hoped this plugin could help.

Thanks!