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

YensDesign.com: How to Validate Forms in both sides using PHP and jQuery

DevShed: PHP Functions

Jeremy Cook's Blog: Recursive Closures in PHP 5.3

DevShed: Violating the Liskov Substitution Principle - PHP

Rob Allen's Blog: Using Zend\Loader\Autoloader


Community Events

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


laravel5 introduction voicesoftheelephpant series language community api wordpress framework library opinion unittest release extension laravel development conference podcast interview psr7

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