Title: Fix for Twitter API issue
Last modified: August 20, 2016

---

# Fix for Twitter API issue

 *  [tady](https://wordpress.org/support/users/tady/)
 * (@tady)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/fix-for-twitter-api-issue/)
 * Hey guys,
 * This was driving me nuts, as it’s the best plugin I could find for the way I 
   wanted it to look. So I decided to fix it myself.
 * I’ve made a number of changes to my plugin for display purposes so I can’t give
   you precise line numbers. Basically look for the following line:
 * `$options[CURLOPT_URL] = 'http://twitter.com/statuses/followers/'.$instance['
   twitterfans_username'].'.xml';`
    (in mine it’s line 89)
 * Comment it out (always comment before committing!) and add the following line
   in it’s place:
 * `$options[CURLOPT_URL] = 'http://api.twitter.com/1/statuses/followers/ids.xml?'.
   $instance['twitterfans_username'].'=twitterapi';`
 * I also uncommented the line : `$twitter_fans = get_option('twitter_fans');`
 * Not sure if it was something someone else here in my office commented out, or
   the original developer, but I put it back in anyway. Haven’t had time to assess
   it’s true functionality.
 * Change the number of fans in your widget (to force a cache reload of the fans)
   and refresh the page. Should work fine.
 * Laters,
 * T

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Laurent J.V. Dubois](https://wordpress.org/support/users/ljvd/)
 * (@ljvd)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/fix-for-twitter-api-issue/#post-2142559)
 * Thanks for the solution.
 *  [SK](https://wordpress.org/support/users/sooskriszta/)
 * (@sooskriszta)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/fix-for-twitter-api-issue/#post-2142577)
 * It does show a list of followers, only…they are not based on the username…i.e.
   they are not your followers.
 *  Plugin Author [S. Abid](https://wordpress.org/support/users/sohailabid/)
 * (@sohailabid)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/fix-for-twitter-api-issue/#post-2142578)
 * I just released the new version that fixes all the issues. [Please upgrade](http://wordpress.org/extend/plugins/twitter-fans/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fix for Twitter API issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/twitter-fans.svg)
 * [Like Box for Twitter](https://wordpress.org/plugins/twitter-fans/)
 * [Support Threads](https://wordpress.org/support/plugin/twitter-fans/)
 * [Active Topics](https://wordpress.org/support/plugin/twitter-fans/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/twitter-fans/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/twitter-fans/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [S. Abid](https://wordpress.org/support/users/sohailabid/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/fix-for-twitter-api-issue/#post-2142578)
 * Status: not resolved