[Solved] Twitter core plugin - Twitter keeps asking to authorize every time I want to login

I had this problem but I managed to find the solution to stack overflow. Either you haven't checked "Allow this application to be used to Sign in with Twitter" on twitter app (this wasn't the case for me) or you need to change the code of the plugin. Go to file "class.twitter.plugin.php" (plugins -> Twitter) and change line 182 from
$Url = "http://api.twitter.com/oauth/authorize?oauth_token={$Data['oauth_token']}";
to
$Url = "http://api.twitter.com/oauth/authenticate?oauth_token={$Data['oauth_token']}";
Tagged:
0