I am getting the follwing error when trying to access request token
using the google oauth.js found at 
http://oauth.googlecode.com/svn/code/javascript/oauth.js.
My app is hosted on google app engine server. Below is the code (i've
removed the token and consumer details) i'll be grateful for any
assistance you could provide, Thank you:

function getTwitterRequestToken(){
var url = "https://api.twitter.com/oauth/request_token";;
var accessor = {
  token: "----------------------------------------",
  tokenSecret: "--------------------------------------------------",
  consumerKey : "------------------------------------------",
  consumerSecret:
"---------------------------------------------------------"
};

var message = {
  action: url,
  method: "POST",
  parameters: {


  }
};

OAuth.completeRequest(message, accessor);

OAuth.SignatureMethod.sign(message, accessor);
url = url + '?' + OAuth.formEncode(message.parameters);

window.location = url;

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to