Comments on: Get Google contacts with OAuth 2.0 https://www.limilabs.com/blog/get-google-contacts-with-oauth2 Using Limilabs .net components Sun, 09 Nov 2014 10:08:47 +0000 hourly 1 https://wordpress.org/?v=6.6.5 By: Limilabs support https://www.limilabs.com/blog/get-google-contacts-with-oauth2#comment-584967 Wed, 04 Dec 2013 12:21:41 +0000 http://www.limilabs.com/blog/?p=3953#comment-584967 In reply to Subham.

@Subham,

If you are getting 401 error (Unauthorized), it means that you haven’t got correct access token.
Have you specified calendar scope (GoogleScope.ContactsScope)?

]]>
By: Subham https://www.limilabs.com/blog/get-google-contacts-with-oauth2#comment-584931 Wed, 04 Dec 2013 08:00:33 +0000 http://www.limilabs.com/blog/?p=3953#comment-584931 I get 401 error response code, when I reach the line:

XmlDocument contacts = api.GetContacts();

I am 100% sure I got the accessToken correct, & can read Imap.

help me to solve this issue ASAP.

]]>
By: Ruddy https://www.limilabs.com/blog/get-google-contacts-with-oauth2#comment-542595 Sat, 01 Jun 2013 05:17:20 +0000 http://www.limilabs.com/blog/?p=3953#comment-542595 It’s done.
I got it wrong with the SCOPE, after after correct it every thing go right.

Thanks! great code.

]]>
By: Ruddy https://www.limilabs.com/blog/get-google-contacts-with-oauth2#comment-542580 Sat, 01 Jun 2013 05:02:32 +0000 http://www.limilabs.com/blog/?p=3953#comment-542580 Great code! just I needed, but I get 401 error response code, when I reach the line:

XmlDocument contacts = api.GetContacts();

I am sure I got the accessToken correct, & can read Imap.

Ant idea what happen?

]]>