What happens if you put several screennames in the screen_name
variable, eg:
[rotatingtweets screen_name="mpntod twitter"]
Martin
Thread Starter
rahyrs
(@rahyrs)
the display says “Problem retrieving data from Twitter”.
That normally means it’s not finding anything in the search. Can you post your exact shortcode so that I can test it on my machine?
Thread Starter
rahyrs
(@rahyrs)
Here it is:
echo do_shortcode( "[rotatingtweets screen_name='loca_id integriaworld' official_format='2' rotation_type='carousel' carousel_horizontal=1 carousel_count=3 carousel_responsive=1 show_meta_reply_retweet_favorite='0' tweet_length='0' show_meta_prev_next='1' np_pos='tweets' prev='<img src=\"http://integria.co.id/webhome/wp-content/themes/zerif-lite/images/left-arrow.png\">' next='<img src=\"http://integria.co.id/webhome/wp-content/themes/zerif-lite/images/right-arrow.png\">' tweet_count='20' show_tco_link ='0' links_in_new_window ='1' official_format_override ='1' show_meta_timestamp ='1' show_meta_screen_name ='0' show_meta_via ='0']" );
When the search exist, the tweets are from the search, not from screen name. When screen_name exist, only one name can occur.
The Twitter API search function doesn’t look very far back in time and so has problems with accounts that tweet very rarely such as these two.
You’ll probably be better off to set up a Twitter list with these two accounts in it – and follow that instead.
Something like:
[rotatingtweets screen_name='loca_id' list='combined-list']
where loca_id
and integriaworld
are the two members of the list.