Hi Karthik, You will want to use 3-Legged OAuth for connecting to Health. I sent the 2-legged example since it had some .NET code that you could potentially start with. Although, it would certainly need to be tweaked for 3-legged OAuth, which is possible according to the following thread:
http://www.google.com/support/forum/p/apps-apis/thread?tid=41a622a18e10dd7f&hl=en Unfortunately, I've yet to track down a 3-legged example at Google. I will keep looking, however. If you find a good example in the meantime, please be sure to post it here! Paul On May 27, 2:40 pm, karthik mellachervu <[email protected]> wrote: > Hi Paul, > > Thanks for th Response. > > I have gone through all the Links which you have provided.I Have seen that > you provided thatwe can connect to gHealth using the 2-legged OAuth but i > want to know how we can acheive this using the 3-Legged.I didnt see any > samples for this? > > I am not able to find the classes,methods etc to implement the 3-legged > OAuth in the Documentation provided by Google Data API. > > Could you please guide me or provide me the References or samples to > implement the 3-legged OAuth. > > The PlayGround is a very nice tool which is very useful for the Developers. > > MK > MK > > > > On Mon, May 24, 2010 at 8:30 PM, Paul (Google) <[email protected]> wrote: > > Hello Karthik, > > > OAuth authentication to Health is certainly possible. The following > > link is for the OAuth+Health documentation: > > >http://code.google.com/apis/health/docs/2.0/developers_guide_protocol... > > > Since the Health feeds are built using the GData, the following is > > another good reference, which includes .NET examples: > > >http://code.google.com/apis/gdata/docs/auth/oauth.html#2LeggedOAuth > > > You may also want to try the OAuth Playground, which has a working > > example of OAuth and Health (not .NET however). > > >http://googlecodesamples.com/oauth_playground/ > > > Cheers! > > > Paul (Google) > > > On May 19, 6:37 pm, karthik mellachervu <[email protected]> wrote: > > > Hi, > > > > I want to know wheather i can connect to gHealth using oAuth > > > authentication either using 3-legged or 2-legged.Please provide the > > > useful information(any links) for this? > > > > I am creating a application in .NET. > > > > Thanks, > > > Karthik M > > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Google Health Developers" group. > > > To post to this group, send email to > > [email protected]. > > > To unsubscribe from this group, send email to > > [email protected]<googlehealthdevelopers% > > [email protected]> > > . > > > For more options, visit this group athttp:// > > groups.google.com/group/googlehealthdevelopers?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Health Developers" group. > > To post to this group, send email to > > [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<googlehealthdevelopers% > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/googlehealthdevelopers?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Health Developers" 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://groups.google.com/group/googlehealthdevelopers?hl=en.
