It is currently Mon Oct 25, 2021 9:16 am

All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Jun 13, 2013 3:52 pm 
Apptha Team

Joined :
Thu Jan 17, 2013 7:01 pm

Responses Posted : 169
Hi,

If you ever facing login issue with twitter in Social Login and getting message "Twitter login connection failed", then please follow the below steps to resolve issue.

Open ../lib/sociallogin/twitter/twitteroauth.php and find the following code

public $host = "https://api.twitter.com/1/";

and replace it with

public $host = "https://api.twitter.com/1.1/";

and find

function authenticateURL() { return 'https://twitter.com/oauth/authenticate'; }
function authorizeURL() { return 'https://twitter.com/oauth/authorize'; }

and replace it with

function authenticateURL() { return 'https://api.twitter.com/oauth/authenticate'; }
function authorizeURL() { return 'https://api.twitter.com/oauth/authorize'; }

Since Twitter upgraded their API version from 1.0 to 1.1, you are facing this issue. You can also get the New library file for version 1.1 here https://github.com/abraham/twitteroauth/tree/master/twitteroauth

Regards,
Powya.S.P,
Apptha Team.


Report this post
Top
 Profile  
 
PostPosted: Sun Sep 29, 2013 1:05 pm 

Joined :
Sun Sep 29, 2013 1:01 pm

Posts : 0
Hello!

Just installed the social login widget. Facebook works great but Twitter is getting:

Twitter Login connection failed

The current module settings match the instructions above..

App can read and write, callback URL has been tried as blank, http and https

Ideas?

Thanks!


Report this post
Top
 Profile  
 
PostPosted: Tue Oct 01, 2013 10:39 am 
Apptha Team

Joined :
Tue Feb 21, 2012 12:15 pm

Responses Posted : 285
Hi,

Please make sure that you have entered correct callback URL in twitter API settings.

If you are still facing the same issue, please contact our supporting team at assist@apptha.com.

Regards,
Karthikeyani S,
Apptha Team.


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 5:30 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron