Archive for December, 2012

A Good Year

It was. :). I’ll remember you, 2012.

Comment

Fixing The Twitter Widget

Twitter has been giving too much problems to a lot of people lately, ever since they updated their API to v1.1 making their Developer Rules of the Road more stringent. While it did affect developers in specific, with quite a number of them having to update their existing applications to stay consistent with the API guidelines, a lot of innocent bloggers were also affected by the new API, to suddenly see their Twitter widgets stop working.

Well I have a Twitter widget on my site too, and it for months has been just dead. But not anymore. There is a simple fix which if you haven’t done yet will bring it back alive.

Regardless of what platform you were on, you basically need to find this piece of code in the widget:

<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/'.$account.'.json?callback=twitterCallback2&amp;count='.$show.'"></script>

And replace it with this:

<script type="text/javascript" src="http://api.twitter.com/1/statuses/user_timeline/'.$account.'.json?callback=twitterCallback2&amp;count='.$show.'"></script>

And you’re done!

Comment
Copyright © Bits and Bytes | Arjun Abhynav. Powered by WordPress.