How are you able to set this up for a non-standard port? HOSTS file is just for the domain/authority, and you can't specify a port in the callback URL on the settings page?
On Apr 23, 7:31 pm, Jochen Kaechelin <giss...@gissmog.de> wrote: > Am 24.04.2009 um 00:29 schrieb Paul Kinlan: > > > 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 > > > Paul > > > On 23 Apr 2009, at 23:16, Abraham Williams <4bra...@gmail.com> wrote: > > >> 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. > > >> On Thu, Apr 23, 2009 at 17:12, Jochen Kaechelin > >> <giss...@gissmog.de> wrote: > > >> Am 22.04.2009 um 15:37 schrieb Abraham Williams: > > >> > 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:30... > >> " }) > > >> 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 > >>OAUTHClients 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 > > >> -- > >> Abraham Williams |http://the.hackerconundrum.com > >> Hacker |http://abrah.am|http://twitter.com/abraham > >> Web608 | Community Evangelist |http://web608.org > >> This email is: [ ] blogable [x] ask first [ ] private. > >> Sent from Madison, Wisconsin, United States