That’s odd.
What happens if you use the development version?
I’ve just tried it on my own test site and it seems to be working properly.
A quicker answer that you might want to try first is:
<?php echo do_shortcode( "[rotatingtweets screen_name='mytwitter' only_rts=1]" ) ?>
By the way, when I copied your text, it had ’ instead of '.
I will try the development version.
I just changed ‘ to be 100% sure, now its not showing anything so also not my own tweets. Do you know how long back it show retweets? Can i configure this?
Thanks! Levd
HI,
Im using this with the development version: <?php echo do_shortcode( “[rotatingtweets screen_name=’mytwitter’ only_rts=’1′ links_in_new_window=’1′]” ) ?>
No retweets are show, but also not my own tweets anymore so thats good 🙂 and configuration option for date for retweets?
Thanks!
Do you have the right screen name?
And do you need a semi-colon in there?
<?php echo do_shortcode( "[rotatingtweets screen_name='mytwitter' only_rts=1 links_in_new_window=1]" ); ?>
If you view source (CTRL+U), you should see error messages in your HTML that tell you what’s going wrong.
My screenname is right, if i use the code with or without semicolon:
<?php echo do_shortcode( “[rotatingtweets screen_name=’mytwitter’ links_in_new_window=’1′]” ); ?>
Tweets are there
If i use <?php echo do_shortcode( “[rotatingtweets screen_name=’mytwitter’ only_rts=’1′ links_in_new_window=’1′]” ); ?>
Nothing is there, are all retweets shown? Or only from a specific time frame?
-
This reply was modified 9 years, 6 months ago by
levdlevd.
There isn’t a function on Twitter to only find retweets, so if only_rts=1 is set, Rotating Tweets loads the last 60 Tweets and looks through them for retweets from other accounts.
If there aren’t any, then it won’t show any tweets.
I think this might be what’s happening in your case.
Ah then that will be it! Im posting a lot of tweets, is there anyway to load more tweets?
Thanks for your help!
You can try it to see if it works.
Try changing line 1184 from:
$apioptions = array('screen_name'=>$tw_screen_name,'include_entities'=>1,'count'=>60,'include_rts'=>$tw_include_rts,'exclude_replies'=>$tw_exclude_replies);
to
$apioptions = array('screen_name'=>$tw_screen_name,'include_entities'=>1,'count'=>200,'include_rts'=>$tw_include_rts,'exclude_replies'=>$tw_exclude_replies);