Let me welcome you ladies and gentleman. I'm developing a program that allows to upload photos to Picasa. Since serveral months the program is not working (and I am not surprised by this) The old authorization API has been shutdown, thus I'm moving my code to adopt to OAuth 2.0 and I'm stucked up a bit.
So far I've been using GoogleData to access Picasa, and since that this API has not been replaced by anything new (according to this summary: ( https://developers.google.com/gdata/docs/directory => GData version is still live. No replacement API) I should be using this API still. The problem is that I need to change the way my code gets authenticated and authorized to access the APIs that change data. I can still access the APIs in read-only mode - when I do not change anything, but read. I came across a short document which specifies several steps: https://developers.google.com/picasa-web/docs/2.0/developers_guide_protocol I have managed successfully to reach the point nr 5 - I received google access token that should be attached to service requests. *And now the question: How to attach this access token to requests ? * There are two options for this: query string parameter or header value of HTTP requests. Since that I do not perform HTTP calls directly, but use the GData .Net libraries, I do not know whether should I do this is a generic way by intercepting the http runtime of my application and modify (add) these values ? or is there any API exposed by Google Data that should be used to achieve this ? I thought of using: PicasaService pSerice; ... ... var credential = GetGoogleAccessToken().Result; String authenticationToken = credential.Token.AccessToken; pSerice.SetAuthenticationToken(authenticationToken); but I receive now http 403 (previously it was 404, before I started to change things) Any suggestions on how to attach (in preffered way) Access token to the service calls (that are invoked under the hood when using the library calls) ? Best regards, Przekolo. -- You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-picasa-data-api. For more options, visit https://groups.google.com/d/optout.
