Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

GetAuthorizeURL is throwing exception #167

Open
syphernl opened this issue Feb 20, 2013 · 4 comments
Open

GetAuthorizeURL is throwing exception #167

syphernl opened this issue Feb 20, 2013 · 4 comments

Comments

@syphernl
Copy link

All of a sudden this function is raising an EpiOAuthUnauthorizedException (which is for some reason also a nonexisting class, even though its defined). Has anything changed in the Twitter API that breaks older versions?

@gragland
Copy link

I'm having the same issue. Did you figure out what was going on?

@tweetwall
Copy link

To fix this, in EpiTwitter.php, change the urls to use https. At least, this is what fixed it for us.

protected $requestTokenUrl= 'https://twitter.com/oauth/request_token';
protected $accessTokenUrl = 'https://twitter.com/oauth/access_token';
protected $authorizeUrl   = 'https://twitter.com/oauth/authorize';
protected $authenticateUrl= 'https://twitter.com/oauth/authenticate';
protected $apiUrl         = 'https://twitter.com';
protected $apiVersionedUrl= 'https://api.twitter.com';
protected $searchUrl      = 'https://search.twitter.com';

@jmathai
Copy link
Owner

jmathai commented Feb 26, 2013

For what it's worth I'm merging in a pull request that should fix these issues. Each time I sit down to get the unit tests to pass I hit the API rate limit and I have to resume later.

Good news is each time I get closer :)

@ghost
Copy link

ghost commented Jun 18, 2013

@socialping Your suggestions are wrong. From the Twitter website:

"Long ago we deprecated twitter.com/oauth/* in favor of https://api.twitter.com/oauth/* -- move to the correct paths and HTTPs and you'll be fully functional again."

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants