Search code examples
oauthgdatapicasa

Picasa GData Scope


I'm having a problem authorizing my iOS application to access a user's Picasa photo albums. I'm using the Google Toolbox for Mac OAuth 2 Controllers and the GData Objective-C Client to access the Picasa API.

The Picasa Developer's Guide specifies the correct scope to use is:

https://picasaweb.google.com/data/

But when using the scope above I'm getting this error message:

objectFetcher:GTMHTTPFetcher 0x99ce930 (https://photos.googleapis.com/data/feed/api/user/someuser) failedWithStatus:403 data:Token invalid - AuthSub token has wrong scope

What is the correct scope to use?


Solution

  • use below as the scope, it works for me

    https://photos.googleapis.com/data/
    

    I found in

    Source/Clients/Photos/GDataServiceGooglePhotos.m