Hi i'm a newbie to iphone application development.. present i'm working on Picasa web albums..i integrated well in my project ,but i was stucked in a situation where passing user credentials...
i'm using GTMOAuth2ViewControllerTouch in order to validate user... so when i use GTMOAuth i get user email only.. inorder get his info i should pass username and password..
or is there any way to get useralbums...
as of now i came to know that if we pass authentication token we can get user albums,but i was unable to get authentication token...so please help on this..
thanks in advance...
Since you are letting the user sign in with OAuth 2, there is no need for the username and password when using the photos API.
If you are using the GData library for the Picasa Web Albums fetches, just set the service object's authorizer to the OAuth 2 auth object, like
[service setAuthorizer:auth];
as mentioned here.