I've am trying to access the currently logged in user's album list but
i keep getting the error (500) Internal Server Error, and when I
inspect the response, it tells me Invalid token.
My App is in ASP.NET 1.1 and i'm using the GData client library. I've
followed the steps correctly to authorize a user and get a
sessionToken in the AuthSub and GData client library documentation,
that is, using the getRequestUrl, getTokenFromReply,
exchangeForSessionToken, and setAuthenticationToken.
Here's the code I use:
PicasaService s = new PicasaService("MyApp");
s.SetAuthenticationToken(sessionToken);
AlbumQuery query = new
AlbumQuery(PicasaQuery.CreatePicasaUri("default"));
PicasaFeed picasaFeed = s.Query(query); //ERROR IS THROWN HERE
What am I missing? I've tried it on my local machine and my remote
server but it still gives me the same error.