-
Notifications
You must be signed in to change notification settings - Fork 124
Fatal error when changing callback url #135
Comments
I forgot one line in my precedent post, there is the good one : $Twitter = new EpiTwitter($consumerKey, $consumerSecret); with href="'.$customUrl.'" |
Does simpleTest.php work? |
I have the same Fatal Error Fatal error: Uncaught exception 'EpiOAuthUnauthorizedException' in /home/dhenriquez/dev.dhenriquez.com/nav2011/EpiOAuth.php:432 Stack trace: #0 /home/dhenriquez/dev.dhenriquez.com/nav2011/EpiOAuth.php(404): EpiOAuthException::raise(Object(EpiCurlManager), false) #1 /home/dhenriquez/dev.dhenriquez.com/nav2011/EpiOAuth.php(45): EpiOAuthResponse->__get('oauth_token') #2 /home/dhenriquez/dev.dhenriquez.com/nav2011/index.php(9): EpiOAuth->getAuthenticateUrl(NULL, Array) #3 {main} thrown in /home/dhenriquez/dev.dhenriquez.com/nav2011/EpiOAuth.php on line 432 |
@dhenriquez does simpleTest.php work for you? |
test.php work fine with 4 string: consumer secret and key, token and secret but, when I try sign in with a custom call back show me the previus commented error. |
@dhenriquez I don't remember but I believe the callback url needs to be urlencoded.
Try that. |
Guys, check date on your server. |
@Rpsl thanks. Also, here are some common errors (including server date). http://www.jaisenmathai.com/articles/twitter-async-documentation.html#commonerrors |
Hello, I am sorry for reopening this, but do you find some way to solve it? I have this problem too. :P Kind regards, Alfonso. |
Hi,
This error appears when I want to specify my callback url during a twitter authentication process :
Fatal error: Uncaught exception 'EpiOAuthUnauthorizedException' in /home/bt/public_html/chatons/4dm1n/lib/twitter/EpiOAuth.php:432 Stack trace: #0 /home/bt/public_html/chatons/4dm1n/lib/twitter/EpiOAuth.php(404): EpiOAuthException::raise(Object(EpiCurlManager), false) #1 /home/bt/public_html/chatons/4dm1n/lib/twitter/EpiOAuth.php(45): EpiOAuthResponse->__get('oauth_token') #2 /home/bt/public_html/chatons/signin.php(18): EpiOAuth->getAuthenticateUrl(NULL, Array) #3 /home/bt/public_html/chatons/index.php(24): require('/home/bt/public...') #4 {main} thrown in /home/bt/public_html/chatons/4dm1n/lib/twitter/EpiOAuth.php on line 432
I have followed your instructions at this url http://www.jaisenmathai.com/articles/twitter-async-documentation.html#oauthcallback, and I have commented the lines 171 & 172 from Epi0Auth.php file.
There is my code :
$Twitter = new EpiTwitter($consumerKey, $consumerSecret);
$customCallback = 'http://www.mydomain.com/index.php?myid'.$photoId;
echo '';
Do you have any idea to enlight me on this issue ?
By the way, thank's you very mutch for your API !
The text was updated successfully, but these errors were encountered: