Ready to get started?Download WordPress


Like Box for Twitter
[Plugin: Twitter Fans] Broken if no followers (2 posts)

  1. sbooob
    Posted 3 years ago #


    Works great except when trying to use an account which is followed by less than number of followers to show set in wordpress widget configuration page.
    The loop should take into account the follower_count retrieved from the XLM output from twitter API.

    I'll try to find a solution tonight and post it if I come up with something.


  2. sbooob
    Posted 3 years ago #

    Fixed :

    In wp-content/plugins/twitter-fans/twitter-fans.php replace line with:
    for($i=0; $i<$twitterfans_number && $i<$twitter_fans['followers_count']; $i++)

    and line 131 with:
    for($i=0; $i<90 && $i<$user->followers_count; $i++)

    Hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic