saturngod
saturngod

Reputation: 24949

oAuth with PHP (for google api)

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.

Upvotes: 5

Views: 20310

Answers (5)

Daan
Daan

Reputation: 7935

I guess you mean this offical library:

Offical API Library

Upvotes: 1

Paul Osman
Paul Osman

Reputation: 4117

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

Upvotes: 1

saturngod
saturngod

Reputation: 24949

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

Upvotes: 3

James Hartig
James Hartig

Reputation: 1009

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.

Upvotes: 4

Related Questions