Unfortunately there are no .net examples for the 3 legged
OAuth<http://code.google.com/intl/de-DE/apis/gdata/docs/auth/oauth.html#Examples>...
only Java, PHP and Python. The link you posted has an example for retrieving
contacts but it does not include the authorization process :-\

On Tue, Aug 2, 2011 at 1:15 AM, Kai <[email protected]> wrote:

> Hi Alain,
> previously I used GData but I thought it did not support OAuth, only
> AuthSub. Obviously this is wrong, so I'll switch back to GData
> <http://code.google.com/p/google-gdata/>to see whether this is working....
>
>
>
> On Mon, Aug 1, 2011 at 6:27 PM, Alain Vongsouvanh <[email protected]>wrote:
>
>> Hello Kai,
>>
>> Can you share with us the part of your code that creates the contact? I am
>> not an expert in VB.NET, but I might find the issue by reading your code.
>> Also, have you considered using the .NET GData client library? There is a
>> developer's guide in C# but I believe converting the code to VB shouldn't be
>> so hard:
>>
>> http://code.google.com/intl/en/apis/contacts/docs/3.0/developers_guide.html#Creating
>>
>> Best,
>> Alain
>>
>> On Sat, Jul 30, 2011 at 2:39 AM, Kai <[email protected]> wrote:
>>
>>> Hi Alain,
>>>
>>> played around a bit more: When I revoke access for my app in my google
>>> user profile then I get (403) forbidden, also when I use a wrong email
>>> address instead of 'default' in the URL I also get (as expected) (403)
>>> forbidden. But as soon as I use 'default' or my email address (url-encoded
>>> using '%40' as @) I get (400) Bad Request. So it seems that my authorization
>>> works correct, but something in the request is wrong....
>>>
>>>  --
>>> 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
>>
>
>

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