Closed (fixed)
Project:
Twitter
Version:
6.x-3.0-beta6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2011 at 23:25 UTC
Updated:
2 Nov 2011 at 13:20 UTC
I've had diificulty to undestand how to module work.
Now that I've read about, I know i've got a problem.
I set up oauth to RSA-SHA1 (but tried also with the other 2 possiblilities)
I was on user/1/edit/twitter page and adding an account.
I login in twitter, it redirect me to my home page, but after nothing is going on.
I've got a nice token of oauth in url but nothing more.
What's the problem, how can in debug it, no error message, nothing written in the twitter databes tables.
What could be the problem ?
Comments
Comment #1
juampynr commentedWhich Open Auth module are you using? Have you installed it from http://drupal.org/project/oauth? (there is an obsolete http://drupal.org/project/oauth/oauth_common project which does not work).
Plus, have you set up your Twitter ids at Twitter Settings?
Comment #2
slucas commentedNo I've got oauth module installed with version
OAuth (oauth) Module Enabled 6.x-2.02
To describe you more exactly the problem
I want to create the twitter account of user 1
I then go to http://www.archiref.com/user/1/edit/twitter page
I click create an account
It switch me to twitter oauth page, wait a second and switch back to my site home page
with in parameter
oauth_token=filled with a long key
oauth_verifier=filled with other key
These two keys are not the same as the one in general http://www.archiref.com/admin/settings/twitter page
But when I'm back to my home page, nothing more.
I've supposed that I should not be back to home page but rather in http://www.archiref.com/user/1/edit/twitter page
So i've tried to copy manually the arguments and open this page.
But it 'doesn't do the job.
In the database my twitter and twitter_account table are empty.
So is there a way to fill it even manually.
I'm looking forward to post twitter posts from my sites !
Comment #3
juampynr commentedHi slucas,
Please replace your twitter module with the latest dev release (available at the project page).
Then, configure your application at Twitter.com so your callback URL points to http://www.archiref.com/twitter/oauth. This is the URL that processes the OAuth parameters.
Next, go to http://www.archiref.com/user/1/edit/twitter and hit on the Add account button. It should now redirect to Twitter and then back to your site correctly.
cheers
Comment #4
juampynr commentedslucas, I have released a new beta for Twitter module: http://drupal.org/node/1314216
Please do upgrade and reopen if you find any issues.
Cheers
Comment #5
slucas commentedI've not yet updated the beta version but in #3 you gave me the information that I needed.
I needed to write http://www.archiref.com/twitter/oauth in the twitter application url call back field.
Thanks you guys !