I successfully retrieved token key / secret after applying Google Hybrid Protocol (OpenID + OAuth).
Then I'm looking into Zend documentation here: http://framework.zend.com/manual/en/zend.gdata.html
... and into Calendar API example here: http://code.google.com/googleapps/marketplace/tutorial_php.html#Integrate-OAuth
They mention about AuthSub method supported by Zend_Gdata library (especially in Zend_Gdata_HttpClient class form what I can see).
But I cannot figure out how to use my key/secret tokens retrieved by Hybrid method in order to access calendar feeds.
Example mentioned above uses AuthSub authentication, while Google recommends to switch to OAuth if possible and where possible, instead of using AuthSub.
Any ideas? Thanks.
I think you got half of the solution in calendar + OAuth + php
Here i mention some links that may help you in solving your problem.
Links:
http://framework.zend.com/svn/framework/standard/trunk/demos/Zend/Gdata/Calendar.php
http://osdir.com/ml/google-calendar-help-dataapi/2011-06/msg00255.html
Link for contact example:
http://gdatatips.blogspot.com/2008/11/2-legged-oauth-in-php.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With