News Feed
Sections




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

Freek Lijten's Blog:
OAuth, a practical introduction with examples using the Twitter API
June 01, 2011 @ 12:38:51

Freek Lijten has posted a great introduction to using OAuth in PHP via the PECL OAuth package.

If you're a webdeveloper and haven't heard of OAuth yet, you've been living under a rock. Apparently you moved though as you're reading this. In this article I'll try to explain the concept behind OAuth, give a quick overview of the technique behind it and give a real-world example using the Twitter API and a PECL package called OAuth.

He introduces you to some of the concepts behind OAuth, what it stands for and what problem it solves, and includes a graphic showing how a typical OAuth request happens. Next up is some code, a sample connection to an OAuth-based service to fetch a request token and apply it to your requests. His example makes a request to the Twitter API.

0 comments voice your opinion now!
oauth tutorial introduction twitter key


blog comments powered by Disqus

Similar Posts

Lorna Mitchell: Using Composer in an Existing Project

NetTuts.com: Design Patterns: The Facade Pattern

Matt Stauffer: Laravel 5.0 - Middleware (replacing Filters)

WorkingSoftware.com.au: Configuring PHP4 and PHP5 to run concurrently on FreeBSD

PHPit.net: Taking a first look at the AutoCRUD for PHP library


Community Events

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


example framework symfony2 interview introduction opinion api composer application php7 performance conference series language release community part2 configure podcast laravel

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