New Feature: Playlist Center! Pick a topic and let our playlists guide the way.
By Ray Villalobos | Monday, July 15, 2013
Did your Twitter app stop working after the 1.1 version of their API was released? Twitter made recent changes to its API that affected a lot of users and applications connected to the service, so I wrote a small PHP script that duplicates much of the old Twitter API functionality. The video below demonstrates the steps you’ll need to take to use it in your web apps.
An API is an Application Programming Interface, a way for developers to connect to and work with services. It’s one reason why both Twitter and Facebook were able to achieve such critical mass—an API allows users to incorporate functionality and build applications based on their own services.
The result? A lot of applications using the Twitter API recently stopped working. For example, one of the courses I wrote called jQuery Mobile Web Applications used the original Twitter API to pull feeds of information into a list of tweets by a certain user. The steps to get that application—or anything still using the old API—now involve a lot more work. The script I wrote will get you most of the way there, but you’ll need to do some additional legwork.
This PHP script has a lot of options: You can ask for a specific amount of tweets, a different account, or even a different path. Just keep in mind that according to the new Twitter API policy, you need to either own the timeline or be an approved follower of the owner.
Interested in more?
• Become a lynda.com member today
• All courses by Ray Villalobos
With online video courses at lynda.com, you can reach your goals faster. Learn software, improve your skills, and get an inside look at how the professionals work.
Share this article:
Tags: Twitter, Web App, View Source, Ray Villalobos, API
You can change your email preferences at any time. We will never sell your email. More info
Thanks for signing up.
We’ll send you a confirmation email shortly.
Sign up and receive emails about lynda.com and our online training library:
Keep up with news, tips, and latest courses with emails from lynda.com.
We've updated our terms and conditions (now called terms of service).Go Review and accept our updated terms of service.