Integrating Twitter Into the Zend Framework

Integrate Twitter into your Zend Framework-powered website with ease. Just use the Zend_Service_Twitter component!

I'll admit I'm a rather late adopter of Twitter, the real-time short messaging service that has in recent months taken the tech community by storm, and has as of late seen adoption by organizations such as The Wall Street Journal, Dell, Whole Foods, and the Cleveland Plain Dealer (see twibs for a comprehensive business listing).

My interest in the service changed during the course of CodeMash, an annual developer's conference I co-founded. As it turns out, most of the CodeMash attendees are avid Twitter users, and were regularly posting thoughts regarding their experience attending the various sessions and other functions. Naturally, the organizers were very interested in these posts, using them as one of the barometers for gauging success. The easiest way to keep tabs on the posts was by way of Twitter's great search interface.

As it turns out, though, there are quite a few other ways to track Twitter trends, and even build your own interfaces for posting messages to your Twitter account, not to mention monitoring the posts of your friends. If you're looking for eye-candy, one of the most interesting applications is Twittervision, a mashup pinpointing the location of posting users. Tracking your post frequency is easy using TweetStats. Or, check out emotionally-inspired posts at twistori. View hundreds of other available Twitter-oriented applications at the Twitter Fan Wiki. All of these compelling solutions are possible using the fantastic set of Twitter APIs made available thanks to the Twitter team.

Using these APIs, a number of Twitter clients also have popped up. twhirl (see Figure 1) is probably the most notable example for desktop users, although iPhone and iPod clients are available, as are Google and Opera gadgets.

But, what if you wanted to create your own client, or integrate your Twitter stream into your blog or website? Indeed, if your main goal in starting a Twitter account is to post messages regarding a specific product, service, or organization, it might be most convenient to integrate an update mechanism into your existing content management system. Further, you might use Twitter's infrastructure as a solution for keeping your website visitors up to date regarding new features and other announcements by integrating the stream into your website's news page. Using the aforementioned APIs, the sky is really the limit in terms of what you can do! In this tutorial, I'll show you how I integrated the newly launched GameNomad Twitter companion into http://www.gamenomad.com/, creating a useful news feature without having to deal with creating an interface and database table solely for managing news-related posts.



Author: W. Jason Gilmore

Read full article on Developer.com
Regional Articles
- Integrating Twitter Into the Zend Framework Alabama
- Integrating Twitter Into the Zend Framework Alaska
- Integrating Twitter Into the Zend Framework Arizona
- Integrating Twitter Into the Zend Framework Arkansas
- Integrating Twitter Into the Zend Framework California
- Integrating Twitter Into the Zend Framework Colorado
- Integrating Twitter Into the Zend Framework Connecticut
- Integrating Twitter Into the Zend Framework DC
- Integrating Twitter Into the Zend Framework Delaware
- Integrating Twitter Into the Zend Framework Florida
- Integrating Twitter Into the Zend Framework Georgia
- Integrating Twitter Into the Zend Framework Hawaii
- Integrating Twitter Into the Zend Framework Idaho
- Integrating Twitter Into the Zend Framework Illinois
- Integrating Twitter Into the Zend Framework Indiana
- Integrating Twitter Into the Zend Framework Iowa
- Integrating Twitter Into the Zend Framework Kansas
- Integrating Twitter Into the Zend Framework Kentucky
- Integrating Twitter Into the Zend Framework Louisiana
- Integrating Twitter Into the Zend Framework Maine
- Integrating Twitter Into the Zend Framework Maryland
- Integrating Twitter Into the Zend Framework Massachusetts
- Integrating Twitter Into the Zend Framework Michigan
- Integrating Twitter Into the Zend Framework Minnesota
- Integrating Twitter Into the Zend Framework Mississippi
- Integrating Twitter Into the Zend Framework Missouri
- Integrating Twitter Into the Zend Framework Montana
- Integrating Twitter Into the Zend Framework Nebraska
- Integrating Twitter Into the Zend Framework Nevada
- Integrating Twitter Into the Zend Framework New Hampshire
- Integrating Twitter Into the Zend Framework New Jersey
- Integrating Twitter Into the Zend Framework New Mexico
- Integrating Twitter Into the Zend Framework New York
- Integrating Twitter Into the Zend Framework North Carolina
- Integrating Twitter Into the Zend Framework North Dakota
- Integrating Twitter Into the Zend Framework Ohio
- Integrating Twitter Into the Zend Framework Oklahoma
- Integrating Twitter Into the Zend Framework Oregon
- Integrating Twitter Into the Zend Framework Pennsylvania
- Integrating Twitter Into the Zend Framework Rhode Island
- Integrating Twitter Into the Zend Framework South Carolina
- Integrating Twitter Into the Zend Framework South Dakota
- Integrating Twitter Into the Zend Framework Tennessee
- Integrating Twitter Into the Zend Framework Texas
- Integrating Twitter Into the Zend Framework Utah
- Integrating Twitter Into the Zend Framework Vermont
- Integrating Twitter Into the Zend Framework Virginia
- Integrating Twitter Into the Zend Framework Washington
- Integrating Twitter Into the Zend Framework West Virginia
- Integrating Twitter Into the Zend Framework Wisconsin
- Integrating Twitter Into the Zend Framework Wyoming

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML