That will never return JSON, per the OAuth spec. It will return a token in the HTTP Query String format. If you are using Dojo, you can use dojo.queryToObject to convert it to json.
On Fri, Jul 31, 2009 at 14:59, Eric Garside <gars...@gmail.com> wrote: > > Hey all, > > I'm working on a Javascript library for full API access with Twitter, > and a current hickup in the system is fetching the oAuth token from > Javascript. > > I'm new to the twitter API, so I'm not sure if I'm missing something, > but I can't seem to get my API call to: > > http://twitter.com/oauth/request_token > > to return JSON to me. Is this something doable? (Ideally through a > jsonp implementation) > -- Internets. Serious business.