Hello,

I have registered for an API to work with Picasa web albums API. I am 
authenticating a user with oob as redirect_uri. I am able to get 
the authorisation code. My request to exchange it with an access token is 
failing with "400 Bad request" status. I am making the request using jQuery 
AJAX. The parameters I am passing are:


   1. code:
   4/mRVz8NNAfBO3anx4DDEzbau6w_mb.Yi53MPabcGwcgrKXntQAax1gJ9oAcgI
   2. client_id:
   694561233653-n00sia1lg2cces16024ac0nfuo37ulng.apps.googleusercontent.com
   3. client_secret:*********************
   4. redirect_uri:
   urn:ietf:wg:oauth:2.0:oob
   5. grant_type:
   authorization_code
   

I am getting the same error even if I send the request with encoded URL. No 
luck with changing the order of parameters also. It would be very much 
helpful if someone could help me out here.

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-picasa-data-api/-/yguaBOZykuYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to