在应用谷歌混合协议(OpenID + OAuth)后,我成功地检索到了令牌密钥/密钥。
然后我将在这里查看Zend文档:http://framework.zend.com/manual/en/zend.gdata.html
..。在这里输入Calendar API示例:http://code.google.com/googleapps/marketplace/tutorial_php.html#Integrate-OAuth
他们提到了Zend_Gdata库支持的AuthSub方法(特别是在我所看到的Zend_Gdata_HttpClient类形式中)。
但是我不知道如何使用通过混合方法检索到的密钥/秘密令牌来访问日历提要。
上面提到的示例使用AuthSub身份验证,而谷歌建议在可能的情况下切换到OAuth,而不是使用AuthSub。
有什么想法吗?谢谢。
发布于 2011-07-02 15:01:20
我认为你在日历+ OAuth + php中得到了一半的解决方案。
在这里,我会提到一些可以帮助你解决问题的链接。
链接:
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
联系人链接示例:
http://gdatatips.blogspot.com/2008/11/2-legged-oauth-in-php.html
https://stackoverflow.com/questions/5472613
复制相似问题