Not sure if the problem is this module or the Twitter module (6.3 beta 9) or if it's at all related.

After attempting to login into drupal with Twitter, it gets redirected to a page with the following error:

Invalid Twitter OAuth request
warning: Invalid argument supplied for foreach() in /modules/twitter/twitter.lib.php on line 300.

Then when I sign on normally I see these errors:

user warning: Table 'databasename.oauth_common_context' doesn't exist query: SELECT * FROM oauth_common_context t__0 WHERE name IN ('') in /modules/ctools/includes/export.inc on line 378.
user warning: Table 'databasename.oauth_common_context' doesn't exist query: SELECT * FROM oauth_common_context t__0 WHERE name IN ('') in /modules/ctools/includes/export.inc on line 378.

Any ideas?

Thanks.

Comments

juampynr’s picture

Could you check if table oauth_common_context table exists in your database? If not, I suggest you to reinstall OAuth module.

mattcasey’s picture

Do not use OAuth 3 - Twitter works with 2.x nevermind, you can't use 2.x anymore. I am getting this error too still