Title: Multiple users not showing
Last modified: August 21, 2016

---

# Multiple users not showing

 *  Resolved [Ryan Gatto](https://wordpress.org/support/users/catonthecouchproductions/)
 * (@catonthecouchproductions)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-users-not-showing/)
 * Hello,
 * Great plugin! I’m trying to pull multiple users in to the widget but only one
   will display. The others give the problem connecting message. The two it won’t
   display have only tweeted 1 and 2 times, could that be the problem?
 * [http://wordpress.org/plugins/rotatingtweets/](http://wordpress.org/plugins/rotatingtweets/)

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

 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-users-not-showing/#post-4490578)
 * 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](https://wordpress.org/support/users/catonthecouchproductions/)
 * (@catonthecouchproductions)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-users-not-showing/#post-4490591)
 * 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](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-users-not-showing/#post-4490592)
 * 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](https://wordpress.org/support/users/catonthecouchproductions/)
 * (@catonthecouchproductions)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-users-not-showing/#post-4490593)
 * I replied, please let me know if you did not get it.
 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-users-not-showing/#post-4490594)
 * I think I’ve found the problem.
 * If you look at the [`search/tweets` option for the Twitter API](https://dev.twitter.com/docs/api/1.1/get/search/tweets),
   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](http://downloads.wordpress.org/plugin/rotatingtweets.zip):
 *     ```
       $apioptions['result_type']='recent';
       ```
   
 * Please let me know if this works for you.
 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-users-not-showing/#post-4490595)
 * 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](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-users-not-showing/#post-4490598)
 * Hi Juan,
 * Please try the [installation instructions](http://wordpress.org/plugins/rotatingtweets/installation/)
   and the [FAQ](http://wordpress.org/plugins/rotatingtweets/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](http://wordpress.org/support/plugin/rotatingtweets).
 * Best wishes,
 * Martin
 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-users-not-showing/#post-4490633)
 * 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](https://dev.twitter.com/issues)
    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](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-users-not-showing/#post-4490636)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/rotatingtweets.svg)
 * [Rotating Tweets (Twitter widget and shortcode)](https://wordpress.org/plugins/rotatingtweets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rotatingtweets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rotatingtweets/)
 * [Active Topics](https://wordpress.org/support/plugin/rotatingtweets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rotatingtweets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rotatingtweets/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-users-not-showing/#post-4490636)
 * Status: resolved