Link to home
Start Free TrialLog in
Avatar of courtthree
courtthree

asked on

Google Apps Contact Sharing API

I'm sure this will be an easy one for anybody who has Google Apps experience but I genuinely lost. In fact, I've fallen at the first hurdle.

My ultimate goal is to integrate a Google Apps Shared Contact list into a .NET application. I have started by activating the "Provisioning API" in the domain settings.

I have written a basic XML reader in my .NET application and tested it with an XML feed that I know already works and the XML streams in just fine.

I have followed Google's instructions for calling the authentication script at this url (with the certain parts omitted for security):
https://www.google.com/accounts/AuthSubRequest?scope=https://www.google.com/m8/feeds/&session=1&secure=0&hd=MYDOMAIN.com&next=http://www.THE PAGECONTAININGTHEXMLFEED.com

However, when landing at the page containing the xml feed, I just get a 401 Unauthorized returned.

In theory, should I simply be able to call the authentication URL, be redirected accordingly and have XML access or am I missing something?
ASKER CERTIFIED SOLUTION
Avatar of ina_don
ina_don
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of courtthree
courtthree

ASKER

The problem here is with Google, not the expert response.