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




TweetBytes is now @Tweet

@tweetbytes is now @tweet, thanks to txtWeb’s recognition of the popularity of the app amongst txtWeb users. Now that it got a snappier keyword, what does it mean for the current users? Simply put, it just got better, and easier to access. Existing users of @tweetbytes needn’t do anything to access the application through the […]

Read More
View the Blog »

55444 Search for Chrome

Got a week's break, and at least one night had to be some night of hacking. I was going through ...

My First WordPress Plugin

With great delight, I have contributed my first official piece of code to the WordPress repository! http://wordpress.org/extend/plugins/stack-overflow-activity-feed-widget/ I was always eager to ...

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