You can clone with
HTTPS or Subversion.
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?
I'm having the same issue. Did you figure out what was going on?
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';
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 :)
@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."