News Feed
Sections




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

DevShed:
Error Handling for Dynamic Twitter Signature Images with PHP
August 26, 2009 @ 07:55:45

DevShed has posted the third part of their series looking at the creation of dynamic twitter signatures. These signatures are the sort of badges you'd see on a site with the user's latest tweet and their photo.

In the third installment in this series, I will be demonstrating how to add proper object-oriented error handling to the SignatureImage class.

They've built up the class to take in a twitter username and, via a cURL request pull in both the account's avatar and latest tweets. If something goes wrong, though, the class needs to be modified to handle it. They show how to add in try/catch handling with an error handler method in the class to work with the error's result.

0 comments voice your opinion now!
error handling twitter tutorial signature


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Generating and Validating Web Forms With PEAR HTML_QuickForm

Alexey Zakhlestins' Blog: Work with TwitterData in PHP

PHPBuilder.com: Building a time-tracking and billing application with Adobe AIR and PHP

PHPMaster.com: Explore Aspect Oriented Programming with CodeIgniter, Part 2

Sebastian Bergmann's Blog: Tutorial at ZendCon 2007


Community Events





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


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

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