Image Image Image Image Image
Scroll to Top

To Top

Information Resources

Twitter API Update Causes WordPress Widget Problem

October 15, 2012 - Information Resources

WordPress siteholders that are using a Twitter widget that requires blogger.js, might want to consider the following link:

which reads:

Deprecation notice!
Version 1 of the API is now deprecated. This document may describe an outdated version of the API. Please move to Version 1.1 of the API as soon as possible.

This script used to return a JSON object of recent tweets on a user timeline.

A quick fix would be to find the line in your widget (typically a PHP file) that makes a browser request to this URL and update it accordingly to the new API (v1.1).

For example, if your Twitter username is “era404” you would find:

<script type="text/javascript" src=""></script>

And replace it with:

<script type="text/javascript" src=""></script>

The callback may be named something different, depending on the plugin in use, however this is how the function is called when using blogger.js.

Tags | , , , ,