I'am just working on a rails app running apache and passenger on my
local machine.
Do i need to allow twitter to get connected to my dev machine which is
reachable by a dyndns address?!
Or are there any other solutions??
Thanx
you can use localhost or whatever you are using locally as a callback. you browser is interpreting it and acting.
> Also when you are building the authorize url to send users to
> twitter.com you can add "&oauth_callback=http://localhost/callback"
> and that will override your applications registered callback.
>
OAuth::Consumer.new("xxxxxxxxxx", "xxxxxxxxxx",
{ :site=>"http://twitter.com/oauth/authorize?oauth_callback=http://localhost:3000/callback
" })
I can see the site where I have to Deny or Allow access.
When I click "Allow" I will be redirected to the Domain which I
entered in the
OAUTH Clients Registration Form (http://www.twitter.com/oauth_cleints)
Seems that the oauth_callback parameter does not work!
Is it in the wrong place?
Any hints!?
Thanx
> The oauth_callback parameter was just disabled do to security
> issues. Currently only the registered callback works. If you need a
> different callback location for development set up a second
> application.
>
Ok, then I have to use my dnydns address - I'am not allowed to
register a application
with "http://localhost:3000/callback" as Callback url.
Thanx
> Hi,
>
> During development I tend to modify my hosts file to point the
> callback URL domain to my box for instance. This is quite good
> because all it affects is my box.
>
I just had the same idea ... ;-)
Works as expected now!!!
Thanx
But saying that my dev server now runs on port 80 on my machine so it
isn't a problem much.
Paul
Seriously, how many developers do you have? If doing "su -c 'echo
127.0.0.1 mydomainname.com >> /etc/hosts'" is too much for your
developers to handle, the solution isn't to complain to Twitter - the
solution is to find better developers.
--
Dossy Shiobara | do...@panoptic.com | http://dossy.org/
Panoptic Computer Network | http://panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)