Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Martin Tod

    (@mpntod)

    Hi Ryan,

    How are you doing this? Search, list or by putting multiple user names in the ‘Twitter name:’ box in the widget or a screen_name in the shortcode.

    The easiest way is to put user1 user2 in the standard widget or have a shortcode such as:

    [rotatingtweets screen_name='user1 user2']

    Alternative ways include:

    [rotatingtweets search='from:user1 OR from:user2']

    or

    [rotatingtweets screen_name='user' list='listofnames']

    What happens if you do a search for from:user1 OR from:user2 on Twitter? If user2 hasn’t tweeted recently, it’s possible they won’t show.

    Martin

    Thread Starter Ryan Gatto

    (@catonthecouchproductions)

    I’m using the widget with the twitter name box. If I search on twitter they don’t come up under “top” but they do come up under “all”. If you send me an email to ryan at catonthecouch . com I will send you some screenshots.

    Plugin Author Martin Tod

    (@mpntod)

    I’ve dropped you a line.

    Alternatively, if you post the two Twitter account names here, I’ll try to replicate the effect.

    Best wishes,

    Martin

    Thread Starter Ryan Gatto

    (@catonthecouchproductions)

    I replied, please let me know if you did not get it.

    Plugin Author Martin Tod

    (@mpntod)

    I think I’ve found the problem.

    If you look at the search/tweets option for the Twitter API, it defaults to 'mixed'. I’ve changed it to ‘recent' in the development version by adding an extra line 974 to rotatingtweets.php in the development version:

    $apioptions['result_type']='recent';

    Please let me know if this works for you.

    Plugin Author Martin Tod

    (@mpntod)

    Hmmm. Appears to have made things worse. Now it’s only showing two tweets.

    The problem here appears to be with Twitter’s search API (which can be flaky – and often looks at a very short time window). All the data that’s being pulled out of Twitter is being displayed.

    I have to go to bed now, but I’ll look at some other options tomorrow.

    Martin

    Plugin Author Martin Tod

    (@mpntod)

    Hi Juan,

    Please try the installation instructions and the FAQ first and if you have any further problems, please start a thread using the form at the bottom of the page in the support forum.

    Best wishes,

    Martin

    Plugin Author Martin Tod

    (@mpntod)

    Ryan,

    I suspect there’s only two (or possibly three) ways forward here:

    1. Do a very chunky piece of work to pull in each timeline separately for each account and then write some further code to merge the three timelines
    2. Raise a bug request vs. the Twitter API
    3. or, possibly,

    4. Add some more Tweets to the two accounts that aren’t displaying, and see if this fixes the problem

    Neither of the first two options are a quick fix unfortunately!

    Martin

    Plugin Author Martin Tod

    (@mpntod)

    Ryan,

    Cracked it. To solve the problem where some people have posted only a few tweets, it works best to use a list.

    I added the 3 accounts you suggested to a private list on my account – and then used the command:

    [rotatingtweets list='rt-test-list' screen_name='mpntod']

    and it appears to have solved the problem.

    I can make the list public (if you want), but it’s probably best to do this using the credentials of the account that you’ve set up to use Rotating Tweets – and then you have the option to make the list hidden on Twitter.

    Martin

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Multiple users not showing’ is closed to new replies.