I'm still not getting the refresh token and would appreciate further
assistance. Here is the CURL log


> POST /o/oauth2/token HTTP/1.1^M
Host: accounts.google.com^M
Accept: */*^M
Content-Length: 325^M
Content-Type: application/x-www-form-urlencoded^M

&code=kACAH-1Ng1hnUq3B4By6ZTWz_0auk9Gp6AlDN67WHuPYXKmWce1KZSm-e-
FAQzT2_rxKdxUSNGp63SsCycCLrVsXpKZRz5O7d9LtXrb3TYRf_2TnMv0zM8Zic4&client_id=622904074894.apps.googleusercontent.com&client_secret=fMqzdv_doGs7zoYAarf-
Bb33&redirect_uri=http://stage.simplytoimpress.com/webservices/picasa/
callback.php&grant_type=authorization_code< HTTP/1.1 200 OK
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate^M
< Pragma: no-cache^M
< Expires: Fri, 01 Jan 1990 00:00:00 GMT
< Date: Wed, 14 Dec 2011 23:52:39 GMT
< Content-Type: application/json
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< Server: GSE
< Transfer-Encoding: chunked
* Connection #0 to host accounts.google.com left intact

Here's what I get back from that post:
{ ["access_token"]=> string(55) "ya29.AHES6ZTbG7qD1uZqQZGcE1tdb1uIGEY--
N8QTVC0OmFqp2oWcA" ["token_type"]=> string(6) "Bearer"
["expires_in"]=> int(3600)
}

Thanks,
Sid
On Dec 14, 2:42 pm, Michael Erickson <[email protected]> wrote:
> Nothing has changed on our end, and this is handled external to the actual
> Photos API.
>
> I just ran my little oath2 script and received this back:
> { "access_token" : "y...", "token_type" : "Bearer", "expires_in" : 3600,
> "refresh_token" : "1/M5u..." }
>
> It's possible your setup isn't correct?  You can try playing around here to
> verify that it's working as you 
> expect:https://code.google.com/oauthplayground/
>
> If that doesn't work, please provide more information so we can look into
> this issue with you.
>
> Thanks,
> -Mike
>
> On Wed, Dec 14, 2011 at 11:29 AM, Sid <[email protected]> wrote:
> > I am getting the same problem! There is no more refresh token. Someone
> > please explain how we are supposed to obtain the refresh token...
>
> > On Dec 8, 5:10 am, Владимир Грузинцев <[email protected]> wrote:
> > > Hello!
> > > I'm using the Picasa API in my web application. Before this day
> > > (08/12/2011) all worked well.
> > > Now if I request access token I'm getting such response
> > > "access_token" :
> > > "ya29.AHES6ZRIY28324pZKEaIXhGU6Ubit-8PRuPk4ll5xJ2YA0p6",
> > > "token_type" : "Bearer", "expires_in" : 3600
> > > Note without refresh token.
> > > Are you changed something?
> > > Help please.
>
> > > Best regards - Vladimir
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Picasa Web Albums API" group.
> > 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.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
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