I know that 3.x is in DEV, and thanks for getting this started.
I'd love to install it and test for issues/improvements, but I'm having issue getting it set up at all.
I've got Oauth installed, and set up right, I've set up my twitter oauth app, and have my two keys entered in.
However, what should I enter as the callback URL under the twitter app settings? it doesn't appear to allow you to dynamically go back to the page you used the button on. and I don't see a callback function in the module.
I guess it may work, but after removing the 2.x version and going with this dev version clean, it wont even let me add a new twitter account under my profile.
I guess I really just need some direction in setting this up to test it out.
Comments
Comment #1
aufumy commentedThe callback is:
http://yourwebsite.com/twitter/oauth
That's as far as I have gotten to.
Comment #2
virme commentedInstructions how to setup and test version 3 would be really appreciated.
I saw that user walkah commited dev 3, so maybe he will post some guidelines.
btw, if version 3 works out fine one will be able to do so many things with twitter and drupal. cant wait.
Comment #3
aufumy commentedEnable the twitter and oauth modules
The instructions that I figured out so far are
* At http://twitter.com/oauth_clients register a new application
* Add your website name and url
* Select browser application type, callback url is yourwebsitename.com/twitter/oauth
Save and add consumer key and secret to the drupal settings.
Comment #4
himerus commentedGood information so far... I did make it as far as setting up both the twitter and oauth modules, setting up my twitter oauth application/client, and it was really on the callback that halted my progress I think...
I will have to test it tonight with a live test site. (I hate that testing oauth doesn't work on my localhost setup)
Comment #5
aufumy commentedAdding twitter accounts via oauth is as far as I have gotten.
I don't think the view twitter updates, or tweet while adding/editing nodes functionality is available yet.
Comment #6
fumbling commentedThanks. On the oauth clients app setup page, do you know if we should check the box for "Use Twitter for Login"? Also, would you suggest choosing "Read & Write" or "Read only" for "Default access type"?
Comment #7
aufumy commentedI do not have 'use twitter for login' enabled now, as it is just a normal drupal login for my drupal site.
Right now I have 'read only' checked, but may have to change it to 'read & write' to send tweets using drupal to twitter.
Comment #8
fumbling commentedThanks!
Comment #9
liza commentedthis doesnt make sense to me: where does it say that i have to create a folder called "TWITTER" at the root of my site and what file called "OAUTH" is supposed to go there?
or do you mean http://SITENAME.COM/sites/all/modules/TWITTER/OAUTH
but then, the modules doesnt have anything called OAUTH in it.
sorry to sound like a dolt but since we have no installation instructions, we need to crowd source here for some clarity :\
Comment #10
fumbling commentedYou'll need to create an oauth account at Twitter first for this to work. http://twitter.com/oauth_clients
Hope that helps.
Comment #11
himerus commentedIn regards to the question about creating a folder called twitter and that comment, NO, you don't need to do this.
I have yet to come back to the twitter module for testing after creating this thread, but what www.yoursite.com/twitter/oauth is is a menu callback in Drupal, which is mapped to a function which should preform the appropriate actions. Essentially, Drupal knows that twitter/oauth is a special path that handles this specific functionality provided by the module.
If I can find some time again to play with the 3.x line of this module, and actually get it to work, I'll post back with details.
Comment #12
virme commentedThat would be really appreciated.
I am having hard time setting it up.
It would be really great if somebody provided guidelines how to setup 'singin with twitter' on drupal.
Comment #13
aufumy commentedAt first I thought that the functionality to 'signin with twitter' was not built yet, but I was wrong.
I checked cvs, and it is available with 6.x-3.x-dev version. I haven't yet tried it myself though.
Though I am getting excited to see the functionality developing, thanks to Walkah.
Comment #14
dgtlmoon commentedOk so what i can see so far on the 3.x-dev release is that..
"Sign in with twitter" will *create* an account if your twitter credentials check out *and* theres *NOT* an existing account with that same name, it will also push you into that user session. (Ie: you cant sign-in-with-twitter if theres an account that exists with the same name on the system, however if there is not, then it will create a user with that name and authenticate you)
How do you intend to deal with a scenario where "john" exists on the Drupal and "john" authenticates via twitter, but its a different "john" to that on the server...
Comment #15
sirkitree commentedAdded a doc page to outline the proceedure. Hope you find this helpful!
http://drupal.org/node/649714
Comment #16
steinmb commented