Thank you Manish for your response. I will try and get back here. Thanks, Vidya
On May 20, 12:15 pm, Manish Pandit <[email protected]> wrote: > On May 19, 11:45 pm, vidyahasten <[email protected]> wrote: > > > > > > > Thanks Manish for the response. > > When i try to athenticate using > > $user = "xxxxx"; > > $pass = "xxxxx"; > > $client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, > > $gcal); > > $gcal = new Zend_Gdata_Calendar($client); > > it works. > > but when i try > > $gcal = new Zend_Gdata_Calendar($http_client); > > it does not work. > > Can you please tell me how can i read events and add event to the > > google calendar using OAuth ? > > > Thanks, > > Vidya > > I looked around for the PHP library you're using (again, I do not know > much about PHP/Zend) but clearly the API is using ClientLogin to > authenticate against Google. To change this to OAuth, you can use one > of the OAuth PHP client libraries (http://oauth.googlecode.com/svn/ > code/php/) and go over this documentation (http://code.google.com/ > apis/gdata/articles/oauth.html) to walk through GData API access via > OAuth. > > -cheers, > Manish- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OAuth" 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/oauth?hl=en -~----------~----~----~----~------~----~------~--~---
