News Feed
Sections




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

Hasin Hayder's Blog:
Using OAuth PECL Extension to Talk to Twitter
May 04, 2009 @ 10:28:26

In a recent post Hasin Hayder has taken a look at using the OAuth PECL extension (this one I assume) to connect your application's login system with Twitter's authentication backend.

if you are interested in developing twitter applications, you must have read about twitter API and it's authentication protocol. your application can fetch user's private data but it has to authenticate itself as the user for that. so there are two ways to do it: asking user to provide his twitter username and password [...] or let twitter handle the authentication on behalf of you.

This second option is where OAuth comes in. Once you've registered your application on Twitter, you can create a token and send it over to their site for validation. The idea is that, since the user has already authenticated on the Twitter site, they can allow an external application to "share" that login information/process and let the remote application fetch information about the user from he Twitter API.

0 comments voice your opinion now!
twitter oauth extension pecl tutorial token authorize


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Customize Your WordPress Blog with PHP Plugins and Widgets

PHPBuilder.com: Reading RSS feeds in PHP: Part 2

Rob Allen: Setting up PHP & MySQL on OS X Mavericks

Rob Allen's Blog: File uploads with Zend_Form_Element_File

Matthew Turland's Blog: Log Analysis and PHP


Community Events





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


version update language composer security community series symfony voicesoftheelephpant interview framework introduction package opinion release laravel library application podcast tool

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