If you set the oauth_callback with a value of "oob", it will not redirect
the user, but provide the PIN style authorization behavior.

See this older post on the new style of calling these params:

http://groups.google.com/group/twitter-api-announce/browse_thread/thread/472500cfe9e7cdb9

Hope this helps.

Hedley

On Tue, Jul 21, 2009 at 2:06 PM, Bradley Wagner <[email protected]>wrote:

>
> Hi,
>
> I work on a Content Management System solution in which we're
> currently trying to integrate Twitter. Here is the issue:
>
> Our software is installed, so while it is browser-based there is not a
> consistent URL to redirect people to and thus nothing that really
> makes sense to fill out when registering our application.
>
> That said, I'd like to avoid to requiring the users of our software to
> visit a url and copy/paste a PIN to authorize our application to send
> updates to their twitter accounts.
>
> Is there a recommended way to do this? Where should that URL be
> redirecting them to? It's my understanding that if they visit the URL,
> an access token can be generated without the use of a pin (we're using
> twitter4j for this part). I guess we could just redirect them to our
> product's website or some page that says "go back into our app and
> click OK to enable the twitter connection".
>
> Thanks,
> Bradley
>

Reply via email to