venca-x / social-login

Plugin for Nette. Login with social networks (Facebook, Google, Twitter )

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fatal error in Twitter implementation

jannovy opened this issue · comments

Implementation of TwitterOAuth failing on Class 'TwitterOAuth' not found

Seems that https://github.com/abraham/twitteroauth made a few changes around https://twitteroauth.com/

Hello,
thanks. I fixed it in dev-master and 1.2.7 version.
Please try it.

Thank you very much for the update.

First, I'm not able to get Twitter authorization gateway until I change this in TwitterLogin.php::74

'oauth_token' => $this->params['callbackURL'],
to
'oauth_token' => $token,

Second, the request on my callback page failed on Call to undefined method Abraham\TwitterOAuth\TwitterOAuth::getAccessToken() in TwitterLogin.php::101

I fixed it :-) Try version 1.2.8 or master

Thank you. Working well.