tags:

views:

1087

answers:

3

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 there is no example for client. I want to use oauth for Google API.

+1  A: 

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.

James Hartig
A: 

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

Paul Osman
A: 

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

saturngod