Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

GetAuthorizeURL is throwing exception #167

Open
syphernl opened this Issue · 4 comments

5 participants

Frank gragland Joel Strellner Jaisen Mathai Bart Claeys
Frank

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

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

Joel Strellner

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';
Jaisen Mathai
Owner

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 :)

Bart Claeys

@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 join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.