News Feed
Sections




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

NETTUTS.com:
How to Update your Twitter Status with CodeIgniter
September 22, 2009 @ 07:54:20

In a new tutorial from NETTUTS.com today they look at connecting Twitter and your CodeIgniter-based application via a curl interface (and caching the last tweet).

They help you configure your framework to autoload the database, create the table and built the model to fetch the latest tweets. Another function (update()) is created to post a new message out to the Twitter API. This involves a simple input form with a bit of validation wrapped around it.

Add in a few views to display the results to the user and some CSS to style it and you're all done. The post has the full code and screenshots included.

0 comments voice your opinion now!
codeigniter framework twitter curl tutorial


blog comments powered by Disqus

Similar Posts

Stoyan Stefanov's Blog: Simultaneous HTTP requests in PHP with cURL

Pixelstech.com: Should we use Abstract class or Interface?

Brian Swan's Blog: Using the Zend Framework and the PDO_SQLSRV Driver

NetTuts.com: Xdebug - Professional PHP Debugging

PHPBuilder.com: Building Web Apps with the Limonade PHP Framework


Community Events

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


language application interview podcast project series composer opinion framework example yii2 php7 laravel api symfony part2 testing community introduction list

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