News Feed
Sections




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

Zend Developer Zone:
Using the Twitter API with PHP and PEAR
April 15, 2009 @ 09:31:39

On the Zend Developer Zone a new article has been posted (by Vikram Vaswani) about how you can use the Services_Twitter PEAR package to connect your applications with Twitter.

Unless you've been living in a cave for the last few years, you know what Twitter is - a free online service that allows users to send out concise, real-time updates on what they're doing at any given moment.

[...] The really good stuff, though, is hidden behind the scenes. Like many Web 2.0 applications, Twitter exposes its innards to the public via a REST API, making it possible to develop customized applications that run on top of the base service. [...] This article focuses on one such library, the PEAR Services_Twitter library, which provides a full-featured API for interacting with the Twitter service through a PHP application.

Once the package is fetched (via the "pear" command on the command line) he shows how to make some example connections like grabbing the most recent status for a user, updating that status, grabbing recent posts from a user's timeline, finding followers/friends and much more. The package makes it so simple that any one of these examples isn't much more that seven or eight lines long.

0 comments voice your opinion now!
twitter api pear package service tutorial


blog comments powered by Disqus

Similar Posts

WebReference.com: User Personalization with PHP: User Login

James Morris' Blog: Parsing HTML with DOMDocument and DOMXPath::Query

Davey Shafik's Blog: Sneak Peek: Zend_Service_Server - name and framework subject to change

Pierre-Alain Joye's Blog: MnoGoSearch, first PECL release

IBM developerWorks: Developing PHP the Ajax way, Part 2 - Back, Forward, Reload


Community Events





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


developer code list language threedevsandamaybe laravel wordpress bugfix install interview api configure community series introduction symfony podcast application release library

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