News Feed
Sections




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

Konstantin's Blog:
The Twitter OAuth PHP Class Gets Even Better
December 17, 2009 @ 12:53:26

In a recent blog post Konstantin take a look at some updates made to a Twitter OAuth library (TwitterOAuth) recently to make it even easier to use:

Just like everybody else, I never read the readme or other documentation files so I dug straight into the class code and examples. Soon after I realized that the new changes were not that bad, so instead of the usual 5 lines of code, I shortened it up to only one. I stopped worrying about parsing XML or JSON, converting them to objects, and I stopped typing in the full address for Twitter API calls. Abraham did all that for us.

It makes it simpler to use, but can break backwards compatibility, so watch out for that if you're using Abraham's library. If you're interested who's using the class, check out this page on his github wiki.

0 comments voice your opinion now!
twitter oauth class github


blog comments powered by Disqus

Similar Posts

PHP in Action: Type hints are more useful for scalars than objects

DevShed: Improving Exception Throwing when Auto Loading Classes in PHP 5

Community News: XHP Released by Facebook (XML in PHP)

Web Development Blog: Tutorial: Create a zip file from folders on the fly

DevShed.com: PHP Datastorage Class (Part 2)


Community Events





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


install podcast threedevsandamaybe refactor symfony2 opinion list community developer release experience interview framework laravel testing introduction language code series unittest

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