News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
Oauth Authentication for Social Apps in PHP
February 08, 2013 @ 10:27:18

On PHPBuilder.com today there's a tutorial introducing you to OAuth and how to use it in your PHP applications.

Oauth is an open standard for authorization that allows secure authorization from web, mobile and desktop applications. This standard allows a third-party application to gain access to a HTTP service, i.e. it enables users to share their resources from one website with another website without having to give out their credentials (usually username and password). [...] Oauth authorization is carried out in 3 steps: obtain a request token, authorize request token and exchange request token for an access token.

They introduce you to some of the basic concepts behind OAuth and how the process works (complete with a handy graphic). They then show how to use OAuth to connect to the Facebook API, both in Javascript then PHP. This is followed with two other examples referencing popular social sites Twitter and Foursquare, hitting their APIs with simple authentication requests.

0 comments voice your opinion now!
oauth authentication social application twitter facebook foursquare tutorial


blog comments powered by Disqus

Similar Posts

Devshed: The Basics of Using the Prototype Pattern with PHP 5

Chris Hartjes' Blog: Protecting Your PHP Code

PHPMaster.com: Continuous Integration (with Jenkins), Part 2

DevShed: Tracking Website Statistics with PHP

PHPMaster.com: Using Phing


Community Events





Don't see your event here?
Let us know!


version podcast composer threedevsandamaybe opinion configure language interview unittest api voicesoftheelephpant list conference laravel release introduction symfony series framework community

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework