Hey Claudio,
I'm experiencing the same problem as Shane. I have my consumer key,
consumer secret, access token, and access secret. After trying the
above code (but using with contact/calendar services) I'm experiencing
no luck.
Is the APPLICATION_NAME something that needs to be registered with
Google also (our consumer key and secret are registered)? Here is a
copy of my code....
GOAuthRequestFactory requestFactory = new GOAuthRequestFactory("cl",
"theAppName");
requestFactory.ConsumerKey = "myConsumerKey";
requestFactory.ConsumerSecret = "myConsumerSecret";
requestFactory.Token = "token";
requestFactory.TokenSecret = "secret";
requestFactory.UseSSL = true;
CalendarQuery query = new CalendarQuery();
Uri calendarUri = new Uri("
http://www.google.com/
calendar/feeds/default/allcalendars/full");
query.Uri = calendarUri;
CalendarService service = new
CalendarService("theAppName");
service.RequestFactory = requestFactory;
service.Query(query);
Console.WriteLine("Query Success!");
Any help with be greatly appreciated!
Thanks,
Cory
On Nov 24, 10:24 pm, Shane <
shanemenchi...@gmail.com> wrote:
> Claudio,
>
> Thanks so much. I had some code that used GOAuthRequestFactory but I
> didn't have the SSL set and I had the wrong application name. It
> failed each time.
>
> With your help I now have3LeggedOAuthworking great with Google
> Contacts API. Awesome stuff - thanks for the support!
>
> Shane
>
> > > Please - how do I authenticate my service with theOauthtokens I