That's a great idea, thanks for sharing! I was just wondering what to do now
that oauth_callback won't work.

Thanks!
Phil
--
Phil Nash

Web development: http://www.unintentionallyblank.co.uk
Musical stylings: http://www.hammervsthesnake.co.uk
Twitter: http://twitter.com/philnash


On Thu, Apr 23, 2009 at 11:29 PM, Paul Kinlan <paul.kin...@gmail.com> wrote:

> 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.
>
> 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>
> 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>
>> 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>
>> 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>
>> 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>
> http://the.hackerconundrum.com
> Hacker | <http://abrah.am>http://abrah.am | <http://twitter.com/abraham>
> http://twitter.com/abraham
> Web608 | Community Evangelist | <http://web608.org>http://web608.org
> This email is: [ ] blogable [x] ask first [ ] private.
> Sent from Madison, Wisconsin, United States
>
>

Reply via email to