Have you tried adding the xoauth_requestor_id query parameter? This is required in order for 2-legged OAuth to work and is missing from the code snippet you posted.
I believe Sherpa Tools<https://www.google.com/enterprise/marketplace/viewListing?productListingId=870+17558944828909963664&utm_medium=button&utm_source=button-cloudsherpas.com&pli=1>successfully manages and creates contacts. On Tue, Oct 4, 2011 at 9:00 PM, Tamdoo <[email protected]> wrote: > thanks Alain for reply, i have gone through doveloper's guide and > understands the basics of Oauth protocol .. i guess there should not be a > problem with the keys , because i am able to retrive all the contacts with > these keys. I got these keys from my application listing in google > marketplace . can u please suggest any working code to create google > contacts that is intendedly written for the marketplace app. > and yes the code work fine with the domain's consumer keys n secret but for > a marketplace app , this must be done with keys that i have mentioned.. > > and one more thing i want to share here is that , not even a single > marketplace app is able to create contacts with 2 legged (i have installed > many , not all ), is this because of some bug in contact API or something > that is to be implimentd yet.. > > and plz dont laugh at my spelling mistakes and poor english, sorry :) > > -- > 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 -- 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
