Thanks for your quick reply Alain. Let me look into this and post here. Muni.
On Jun 21, 1:52 am, Alain Vongsouvanh <[email protected]> wrote: > Hello, > > Unfortunately, the Contacts API doesn't let you retrieve information about > the current user. It only lets you retrieve the user's Contacts information. > > If you are writing a web application, you might consider looking into Google > App Engine as it provides a Users API giving you this kind of information: > http://code.google.com/appengine/docs/python/users/ > > Best, > Alain > > > > > > > > > > On Mon, Jun 20, 2011 at 6:02 AM, muni <[email protected]> wrote: > > Hello, I have got a funny Issue. I have got the oAuth working and got > > the access token. > > > I am able to get the users contacts with the following URL. > > >https://www.google.com/m8/feeds/contacts/default/base?oauth_token=XXX... > > > But I want to get the current oAuth users ID, so that I can get the > > other details for the User like picture etc., > > > Any help would be appreciated. > > > Thanks, > > Muni. > > > On Jun 16, 9:57 pm, Alain Vongsouvanh <[email protected]> wrote: > > > Hello, > > > > I'm not sure if this will solve your issue but can you try using the > > > contact's self or edit URL instead of the Atom ID? > > > The URL should look like: > > > https://www.google.com/m8/feeds/contacts/<USER_EMAIL>/full/<CONTACT_ID> > > > > You can also try using "default" instead of <USER_EMAIL> as this will > > refer > > > to the currently authenticated user. > > > > Best, > > > Alain > > > > On Wed, Jun 15, 2011 at 11:07 AM, Rodzilla <[email protected]> wrote: > > > > My VB/Winform app is having credentials problems when trying to > > > > retrieve a contact... > > > > > Dim g_Settings As New > > > > Google.GData.Client.RequestSettings(Application.ProductName, > > > > "[email protected]", "mypassword") > > > > Dim g_request As New Google.Contacts.ContactsRequest(g_Settings) > > > > > Try > > > > ' the string in the next statement is the Google ID of the contact I > > > > want to .Retrieve > > > > Dim g_contact As Google.Contacts.Contact = g_request.Retrieve(Of > > > > Google.Contacts.Contact)(New Uri("http://www.google.com/m8/feeds/ > > > > contacts/my.username%40gmail.com/base/a")) > > > > > Catch exi As Google.GData.Client.InvalidCredentialsException > > > > ' handle the Invalid Credentials exception > > > > ' exi.message is "Credentials Error: Invalid credentials" > > > > > Catch exc As Google.GData.Client.CaptchaRequiredException > > > > ' handle the captcha exception > > > > ... > > > > End Try > > > > > Thanks in advance for any help... > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html > > > > -- > > > Alain Vongsouvanh > > > -- > > You received this message because you are subscribed to the Google > > Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html > > -- > Alain Vongsouvanh | Developer Programs Engineer | [email protected] | +1 650 > 479-6719 -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html
