WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. sbooob
    Member
    Posted 3 years ago #

    Hi,

    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.

    http://wordpress.org/extend/plugins/twitter-fans/

  2. sbooob
    Member
    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