Closed (won't fix)
Project:
Twitter
Version:
6.x-3.0-beta3
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2010 at 20:10 UTC
Updated:
6 Apr 2012 at 09:34 UTC
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
Comment #1
rovoThank you, that fixed it for me too.
Comment #2
cweagansYes, please fix this. oauth renamed the base module to oauth_common
Comment #3
voxpelli commentedDid 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.
Comment #5
Peter777 commentedI've downloaded OAuth_common to try to solve the problem, but still twitter says that OAuth is missing. Where can I change the dependency?
Comment #6
voxpelli commentedTake 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.
Comment #8
Garry Egan commentedPlease 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.
Comment #9
voxpelli commented@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)
Comment #10
alexkb commentedThis 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.
Comment #11
Rosamunda commentedI´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
Comment #12
cweagansThis is a won't fix. You need to use oAuth 2.x.
Comment #13
michaek commentedThanks for updating this status (correctly), however a new beta will be released soon supporting OAuth 3.
Comment #14
zfreaker commentedI 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.