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

DevShed: Building a Logout Class

Francesco Montefoschi's Blog: PHPADD: abandoned docblocks detector

DevShed: Abstract Classes in PHP - Working with PHP 5

PHP-Coding-Practices.com: Control Your CSS Via PHP - Good Stuff!

Andrew Podner: Using Final to Prevent Overrides and Extension


Community Events

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


framework api install conference library release performance configure php7 podcast interview opinion introduction voicesoftheelephpant laravel symfony2 example series community application

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