Hi,

I am trying synchronize the contacts created in some CRM system with
Google Contacts. I am trying to add  domain shared contacts.I am not
getting any exception and everything is working fine . But I'm not
able to view the added contact in Google contacts.(GAE)

I am using two legged authentication for the same. Below is the code.

//For Two legged Authentication
GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters();
oauthParameters.setScope(Scope);
oauthParameters.setOAuthConsumerKey(ConsumerKey);
oauthParameters.setOAuthConsumerSecret(secret);
OAuthSigner signer = new OAuthHmacSha1Signer();


ContactsService myService = new ContactsService(serviceName);
myService.setOAuthCredentials(oauthParameters, signer);
String FEED_URL = http://www.google.com/m8/feeds/contacts/domain/full;
String urlStr = FEED_URL + "/" + contactId + "?xoauth_requestor_id="
+
domainAdminEmail;


Please help me know where I might have gone wrong.

Regards,
Nirzari

-- 
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

Reply via email to