[英]oAuth with PHP (for google api)
How to use oAuth with PHP ? 如何在PHP中使用oAuth? I can't install oauth class with pecl because I'm using share hosting.
我无法使用pecl安装oauth类,因为我正在使用共享托管。
I found 我发现
http://code.google.com/p/oauth-php/ http://code.google.com/p/oauth-php/
but there is no example for client. 但客户没有例子。 I want to use oauth for Google API.
我想将oauth用于Google API。
Here is your example: http://code.google.com/p/oauth-php/wiki/ConsumerHowTo 以下是您的示例: http : //code.google.com/p/oauth-php/wiki/ConsumerHowTo
You can also read through http://code.google.com/apis/gdata/docs/auth/oauth.html to find out the specifics on Google. 您还可以通过http://code.google.com/apis/gdata/docs/auth/oauth.html阅读以了解Google的具体信息。
我得到了它,我在http://googlecodesamples.com/oauth_playground/(svn 源代码 )上开发自己的客户端库
There are plenty of libraries available for PHP. 有很多可用于PHP的库。 Check out the list on http://oauth.net/code/
查看http://oauth.net/code/上的列表
You should probably have a look at: http://www.dhruvb.com/blog/content/tutorial-using-oauth-google-plus-api 你应该看看: http : //www.dhruvb.com/blog/content/tutorial-using-oauth-google-plus-api
Also, the code samples are present at: https://github.com/dhruvbaldawa/Tutorials/blob/master/google+/google_plus.php 此外,代码示例位于: https : //github.com/dhruvbaldawa/Tutorials/blob/master/google+/google_plus.php
I guess you mean this offical library: 我想你的意思是这个官方图书馆:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.