views:

103

answers:

2

Hi,

I have knowledge of the Oauth process but dont have a clue where to start coding.

I have looked at the DotNetOpenAuth site, downloaded the examples and have run the Google Contacts example.

I would like to do something similar but with a Google Calendar but cannot even begin to start. I have got as far as creating a new project, importing the relevent DotNetOpenAuth dlls and have been staring at it like a chimp (chump) for the last 3 hours.

Does anyone know of any good tutorials or examples to give me a starting point?

Hopefully someone can throw me a rope.

A: 

Since you already have the Google Contacts OAuth sample running, that means you've reached the end of where DotNetOpenAuth's scope will take you. You now need to read the Google Calendar documentation/API to find out how to create your own HTTP requests to access Google Calendar. DotNetOpenAuth's sample should show you how to use OAuth to sign these requests just as it does for Google Contacts.

Andrew Arnott
A: 

Hi Andrew,

Thanks for getting back to me. Late reply due to dropping this for the moment whilst I got some other bits sorted.

What I am struggling with is how to extract out what I need. I am using the GoogleAddressBook.aspx.cs example specifically. I cannot see how a lot of these methods are happening. For example - GoogleConsumer.GetContacts.

Also the InMemoryTokenManager - not sure where to start in terms of persisting this in a database.

Can you suggest a good place to start with regard to learning this? I dont seem to be able to find any information on the web - there is only you and a few others that written anything at all in fact.

Regardless of whether you have the time to point me in the right direction, thanks for your efforts and for making the code available.