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 10.0 Blog: duck operator

Tobias Schlitt's Blog: PDV -> VIP, now on github!

ThinkPHP Blog: Spooky Action at not so much Distance

Martynas Jusevicius' Blog: PHP 5 features: Class autoloading

ProDevTips Blog: Fluent Arrays and Strings in PHP


Community Events

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


language podcast laravel5 community introduction php7 unittest series version voicesoftheelephpant framework interview laravel extension wordpress opinion release api library list

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