Hi
When I try sign requests to any google service then I get exception :
403 OK. Signing code:
HttpTransport transport = GoogleTransport.create();
GoogleHeaders headers = (GoogleHeaders) transport.defaultHeaders;
headers.setApplicationName("google-youtubejsoncsample-1.0");
headers.gdataVersion = "2";
transport.addParser(new JsonCParser());
OAuthHmacSigner s = new OAuthHmacSigner();
s.clientSharedSecret = "myshared_secret_from_registration";
s.tokenSharedSecret = token_secret;
OAuthParameters authorizer = new OAuthParameters();
authorizer.consumerKey = "
myapp.appspot.com";
authorizer.signer = s;
authorizer.token = token_key;
authorizer.signRequestsUsingAuthorizationHeader(transport);
When I create access token using google api java client (new gdata
api) then signing code passes correctly. What is going on? I spent a
lot of time to implement hybrid in gwt+appengine:( and my work gone
for nothing:(