oAuth with PHP (for google api)

前端 未结 5 1342
傲寒
傲寒 2021-02-10 03:30

How to use oAuth with PHP ? I can\'t install oauth class with pecl because I\'m using share hosting.

I found

http://code.google.com/p/oauth-php/

but ther

相关标签:
5条回答
  • 2021-02-10 03:52

    There are plenty of libraries available for PHP. Check out the list on http://oauth.net/code/

    0 讨论(0)
  • 2021-02-10 04:01

    Here is your example: 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.

    0 讨论(0)
  • 2021-02-10 04:01

    I got it and I develop my own client library base on http://googlecodesamples.com/oauth_playground/ (svn sourcecode)

    0 讨论(0)
  • 2021-02-10 04:05

    I guess you mean this offical library:

    Offical API Library

    0 讨论(0)
  • 2021-02-10 04:14

    You should probably have a look at: 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

    0 讨论(0)
提交回复
热议问题