Skip to main content

The Twitter REST API v1 is no longer active

By Sam Deering

JavaScript

Share:

Free JavaScript Book!

Write powerful, clean and maintainable JavaScript.

RRP $11.95

Not entirely happy with Twitter’s decision to retired v1.0 of their API and now guess what all your Apps using this will have broken. Twitter API v1.0 Retired and makes way for Twitter API v1.1… So I’ve included some help below on how to fix it up so your Twitter web apps can work again!

You may see something like this:

twitter-api-1.0

A typical API 1.0 call to grab JSON data of tweets was like this:

http://search.twitter.com/search.json?q=jquery4u&result_type=recent&rpp=100&lang=en&callback=jQuery17204966100144665688_1371202355543&_=1371202590815

Embedded Timelines Alternative

Twitter’s new Embedded timelines are a fast alternative to displaying your tweets and allowing users to reply using Twitter’s standards out of the box. Just go to the Widgets section and create a new widget.. takes under a minute! This gives you a script like this which you can embed in your pages. It then injects the widget as an iframe.

jquery-widget

Check it out here!

Sam Deering has 15+ years of programming and website development experience. He was a website consultant at Console, ABC News, Flight Centre, Sapient Nitro, and the QLD Government and runs a tech blog with over 1 million views per month. Currently, Sam is the Founder of Crypto News, Australia.

New books out now!

Learn how Git works, and how to use it to streamline your workflow!


Google, Netflix and ILM are Python users. Maybe you should too?