Seems like the oauth module dir name may have changed. I was able to get around it by changing "dependencies[] =oauth_common" in place of "dependencies[] = oauth".

Comments

rovo’s picture

Thank you, that fixed it for me too.

cweagans’s picture

Yes, please fix this. oauth renamed the base module to oauth_common

voxpelli’s picture

Status: Active » Fixed

Did you ever think about why the name changed? Because it might have been such a drastic rewrite of the module that the two versions are in no way compatible with each other? Using oauth_common instead of oauth doesn _not_ solve the dependency of the current twitter module and therefor it should _not_ be changed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Peter777’s picture

Version: 6.x-2.6 » 6.x-3.0-beta3
Status: Closed (fixed) » Active

I've downloaded OAuth_common to try to solve the problem, but still twitter says that OAuth is missing. Where can I change the dependency?

voxpelli’s picture

Status: Active » Fixed

Take a look at the project page for Twitter.module: http://drupal.org/project/twitter

Read: "this depends on Drupal's OAuth module version 6.x-2.02."

OAuth Common is not OAuth.module 6.x-2.02. OAuth Common 2.x is OAuth.module 3.x. Don't use OAuth 3.x until Twitter.module has been updated to support that version.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Garry Egan’s picture

Status: Closed (won't fix) » Closed (fixed)

Please keep this thread open. We're all getting this error.

Where exactly do we change that dependency text to OAUTH from OAUTH_COMMON?
Seems easy enough if I just knew where it was.

** UPDATE

So, inside your twitter module, go inside each of the subfolders: twitter_actions, twitter_post, and twitter_signin, then open up the .INFO files. Change from OAUTH to OAUTH_COMMON for each one.

*** UPDATE

Still couldn't get this to work. Everytime you try and login to twitter through the Drupal user profile, it errors out with
Username/password incorrect.

***UPDATE

Reading @vox's post below and implementing.

***UPDATE

Fixed. Thanks Vox.

voxpelli’s picture

Status: Closed (fixed) » Closed (won't fix)

@GarryEgan: Lets try this again:

From http://drupal.org/project/twitter "Download and install drupal's OAuth module 6.x-2.02"

From http://drupal.org/project/oauth "Version 3.x is an entirely new module [...] Not compatible with older versions of the OAuth module."

The reason why OAuth 3.x is named "oauth_common" is in part due to its incompatability with OAuth 2.x - changing the name of the dependency doesn't fix that, it just ensures that you will for certain break your module.

Get it?

(Changed to a better status - this is a won't fix for sure - until Twitter.module adds support for OAuth 3.x the dependency can't be changed and there's also no reason to change it)

alexkb’s picture

Status: Closed (fixed) » Closed (won't fix)

This thread is still relevant, even today.

If you do 'drush dl' & 'drush en', drush will attempt to get the latest recommended version 'oauth-6.x-3.0-beta4' of the 'oauth' dependency, which doesn't actually contain 'oauth' only 'oauth_common'.

As a result, drush ends up in an endless loop trying to download and enable 'oauth'.

So the way to do it, is to manually download oauth-6.x-2.02 and then do drush dl/en twitter.

I should add, that using oauth-6.x-3.0-beta4 and renaming the dependency entry in twitter_post's.info file to use oauth_common, partially works, but when you try using twitter-post's functionality, it simply doesn't work.

Hope that info can help someone!

Hopefully, twitter module will support the latest oauth, sooner rather than later.

Thanks.

Rosamunda’s picture

Status: Closed (won't fix) » Patch (to be ported)

I´m sorry, but after reading this post (because I´ve had the same problem), I can´t help but think that the status "won´t fix" isn´t accurate.
That tiny solution should be addressed and ported.
If you think I´m wrong I do apologize, and please change the status back. :)
Rosamunda

cweagans’s picture

Status: Patch (to be ported) » Closed (won't fix)

This is a won't fix. You need to use oAuth 2.x.

michaek’s picture

Thanks for updating this status (correctly), however a new beta will be released soon supporting OAuth 3.

zfreaker’s picture

Title: Oauth dependency always displays as "missing" » Use Oauth 3

I red somewhere since oauth_common is deprecated the new Oauth 2.0 module should be used. It turns out it cannot be since Oauth 2 module name is oauth but the twitter module dependency is oauth_common. If you use the right version (oauth 3 - still in beta) it will work fine.