As tweeted yesterday, I’ve just completed a new WordPress plug-in to show rotating tweets.
It’s easy to add using a widget or a shortcode in a post or on a page such as:
and, as a result, you get:
At a briefing on the Hampshire Local Transport Plan - an area where we need major change with a much stronger ambitions for decarbonisation and sustainable active travel hants.gov.uk/transport/loca…
For a bit more fun, you can add some extra options such as:
Problem retrieving data from Twitter
And the latest version goes for the official look:
Problem retrieving data from Twitter
Problem retrieving data from Twitter
You can also search:
Problem retrieving data from Twitter
You can see the widget in action on the top-right of this page.
You can download the plug-in from here.
All this was only possible due to the good people of WordPress, the Twitter API, jQuery and jQuery Cycle – and Syd who showed me jQuery Cycle in the first place  – so a big thank you to them too! 🙂
536 replies on “New twitter plugin – to show tweets in rotation”
Hi,
Thanks for the plugin, it’s great. In terms of twitter caching, how often does it call the API?
Thank you.
A basic call with a single screen name calls the API every 2 minutes.
If there are several uses of the plug-in with different screen names or the same name get called with and without retweeets or with and without replies, each combination gets called every 2 minutes – so in practice, a more complicated set-up could be calling the API quite a lot more often than every 2 minutes (and if there are other Twitter plug-ins on the site, they could also be calling the API and also risking rate limiting).
The variable is set in line 160 of rotatingtweets.php.
In principle, this is something that could be made more sophisticated – and possibly also more often given a rate-limit of 150 calls per hour. What sort of delay are you looking for?
Hi. Great plug in. However its not keeping my settings so it is not pulling my tweets through. Can I hardcore it?
That’s concerning. Is it the widget or the shortcode that is causing the problem? Is it just the user name that it’s not storing properly? Can you tell me your user name and web address so I can diagnose or try to replicate the problem?
Hi Martin,
I just updated to wordpress 3.4 and now my front page won’t load if I have the shortcode of this plugin loaded. As soon as I disabled it in plugins my home page loaded again. Is there an update coming soon for the newest version of wordpress?
Thanks,
Tom
It may have been the problem with Twitter going offline and crashing the plugin. Sorry about that.
I’ve uploaded a fix.
Is it working now?
Hi Martin,
Plugin works well, though when Twitter fell over recently WordPress got in a tangle because the plugin could not handle the problem.
My error logs were giving me “… mod_fcgid: stderr: PHP Fatal error: Cannot use object of type WP_Error as array …”
I narrowed this down to wp_remote_request() returning WP_Error instead of the Twitter stream. I wrapped it up in is_wp_error() as follows and it seems to work, but then Twitter came back online. I wondered if you wanted to handle this issue properly in an update?
Here’s my code:
$twitterjson='';
if(!is_wp_error($twitterdata)){
$twitterjson = json_decode($twitterdata['body']);
}
This is great! Many thanks.
I’d reached a very similar conclusion – and have just updated the code.
(I’ve left out
since without that the plugin will use the last safe version of the twitter feed loaded) 🙂
Thanks Martin…
One other thing I’ve noticed that may or may not be related is that, from time to time, the feed loads as
I haven’t had a chance to look into this yet. It seems fairly sporadic, but I wondered if it was due to a different feed issue or failure. Any light you can shed on this?
Cheers!
Looks like the feed is trying to parse a NULL value for the whole tweet – but I don’t really understand how it would get to that point.
I’ve put a whole chunk of extra error checking into the development version.
Straightforward errors will show as:
If something really strange and inexplicable happens, you’ll get:
and a dump of the variable returned from Twitter commented into the HTML – although in theory no-one should ever see this!
Hi Martin,
Thanks for the updates!
I now sporadically get the new error message, “Problem retrieving data from Twitter.”
Checking source I get:
(
[request] => /1/statuses/user_timeline.json?screen_name=markofaLeader&include_entities=1&count=20&include_rts=0&exclude_replies=1
[error] => Rate limit exceeded. Clients may not make more than 150 requests per hour.
)
Since this site is in development, I can’t imagine it’s making that number of requests. Any thoughts?
Many thanks.
I’ve now updated the plug-in so that you shouldn’t see that any more.
As far as I can tell from Twitter’s documentation, they rate-limit by IP address, not by site. So if there are other sites calling Twitter from the same server, they might trigger the problem.
Does that sound possible?
Mark,
Twitter’s rate limiting was breaking things.
Bizarrely, while a ‘normal’ Twitter error is returned via an ‘errors’ object, rate-limiting errors are returned via an ‘error’ object.
The plugin now spots both kinds of error and if there’s rate-limiting stops trying to get any data until Twitter says it’s safe to come back!
Please let me know if you have any further problems!
Hi Martin,
Thanks for all the support and updates!
It’s likely that other sites on the server are triggering the rate limit since it is a shared server 🙁
I wonder – could it not revert to cached tweets instead of showing the error??
Unless a site has never successfully downloaded any tweets, it should always show the cache.
Is it not doing that for you? I’ll take another look at the code.
Martin
It definitely switches from showing tweets to showing the error. Odd…
Sorry about that. Does it give the “xx minutes till I check again error”?
Very odd. I’ve deliberately rate-limited my site and it works as it should.
Perhaps it’s another error?
What version of the plug-in are you using? And what error message are you getting?
Have put a version that should address this in the trunk SVN at WordPress – at http://downloads.wordpress.org/plugin/rotatingtweets.zip.
Does it work for you?
Hi Martin –
So far, so good. I’ll keep an eye on it.
Many thanks,
Mark
Thanks for your plugin. Fantastic.
For insert avatar and tweet for us?
i spossible
Sorry for my english
To include the avatar, does the latest version – available at http://downloads.wordpress.org/plugin/rotatingtweets.zip – work for you?
Best wishes,
Martin
Thanks for repond, i have installed plugin from WP pannell on my site. Is different?
This is my version
Version: 0.505
The version that supports avatars is the development version 0.600 at http://downloads.wordpress.org/plugin/rotatingtweets.zip
I should also be able to add an Italian translation to it (at least for “reply · retweet · favorite” – as per http://translate.twttr.com/glossary/it – although that will be version 0.601 !
If you can give me a translation for all of http://plugins.svn.wordpress.org/rotatingtweets/trunk/languages/rotatingtweets-it.po then I can offer you a translation of the whole plug-in!
Thanks Martin, i use the plugin in right sidebar and reply, retweet ecc is dont on the same row
is possible modifie this
I dont understand for translate
You want my help? is dont problem for me
reply · retweet · favorite ins dont in the same row when i use the avatar on the version 0,600
i have 300 pixel sidebar
i try with two version of your plugin, but have problem
I’m afraid I can’t help without seeing the problem on the site itself or on a test site.
Are there problems with both the ‘official’ options on version 0.600? One of them is not designed for narrow sidebars.
yes with two version in 0,600
i have inserted version 0,6
on the right here
http://www.doremifasol.org/news/
you can see regular version
i delete after your help
Many thanks for that.
I’ve uploaded version 0.601 which changes lines 18-24 of the stylesheet to (hopefully) fix the problem:
max-width: 1.2em;
max-height: 1.2em;
padding: 0;
margin: 0;
display: inline;
}
Has it worked?
Where is this version?
Latest version is always at http://downloads.wordpress.org/plugin/rotatingtweets.zip
I have installed new version, ok for reply, retweet ecc
But when we have a tweet with a lot of words, twitter’s logo is not on the right
You can see here
http://www.doremifasol.org/news/
sorry for all and thanks for this fantastic widget
Which browser is that? It’s currently always showing on Chrome.
That said, the function to put the icon in the right place doesn’t seem to be working quite right on your site, so I will need to look at this further. Unfortunately, I won’t be able to do this until this evening.
i stay here. if is possible for me is the best eh eh
Thanks for all
I use firefox
Hallo Martin. You have resolved?
I think it’s resolved now. There was an issue with small tweets not aligning the bird correctly – which should now be fixed.
http://www.doremifasol.org/news/
NOW IS PERFECT…
I give you 5 stars eh eh
Thanks for all
Thank you. I’ve just made a small extra change to the translation file which should mean that ‘retweet’, ‘reply’ and ‘favorite’ now appear in Italian! 🙂
For use translation?
If your site is set to use Italian, then the words should translate automatically with the latest version. Possibly.
I recently installed your widget and snagged it to my sidebar. However, nothing is showing up even after I cleared my cache. I’m not a programmer by any means – is there something simple I’m missing??
Ronae,
It appears to be working on http://www.recreate-my-life.com/ – at least once I click past the welcome page. What browser are you using?
Best wishes,
Martin
Hello Martin,
I love the plugin and the different variations it has. I was wondering if I’d be able to use this without the shortcode or widget and just use the php code. The reason being is because I want to add this to the header of my wordpress site. I highly doubt I’d be able to add shortcode directly to php.
Here’s the site that I want to add it too. http://www.joeijo.com I would like to add it right under the Facebook Like button.
Thanks!
I’ve just uploaded a test version of the plug-in to http://downloads.wordpress.org/plugin/rotatingtweets.zip which should work if you add something to your code like:
Although all the options are available, and you could add something like:
'screen_name' => 'twitter',
'include_rts' => FALSE,
'exclude_replies' => FALSE,
'tweet_count' => 5,
'show_follow' => FALSE,
'timeout' => 4000,
'no_show_count' => FALSE,
'no_show_screen_name' => FALSE,
'show_meta_timestamp' => TRUE,
'show_meta_screen_name' => TRUE,
'show_meta_via' => TRUE,
'show_meta_reply_retweet_favorite' => FALSE,
'rotation_type' => 'scrollUp',
'official_format' => FALSE,
));
But a better way of doing this might be to add
to your code instead and then you can put as many widgets there as you want.
Thanks for the quick reply! I would be adding this code tonight when I get home. Really appreciate you’re help!
hello plzz tell me how to display th images of tweets in my feed…..thanx in advance…..
The development version of the plug-in does this. You can download it from here.
Hello, I can’t seem to get the widget work… keeps saying rate-limited by Twitter… :~(
Hi Kim,
That’s because another website on your server was contacting (or had contacted) Twitter so often that Twitter stops sending data through. It has now picked up the latest tweets, so should be OK from now on.
Martin
Just had another look. Somehow your site has gone back to rate-limiting.
No idea why! Can you try the latest version of the plug-in and let me know if it helps.
Hi Martin,
I am currently working on a site for a client and was hoping to use the shortcode version of your fantastic plugin. My problem is that it will not rotate the posts on the homepage. It simply stays with the most recent.
Thanks Shane
Sorry the rotating tweet is on the index of http://www.ihbsalon.com/wps
Shane,
The problem is that your template reloads its own version of the jQuery script after the WordPress version used by rotating tweets. If you look at the raw HTML, it appears once in line 35 and then again in line 61.
This either happens because it has its own line in the `header.php` file – or gets loaded somewhere else (`functions.php`) – possibly using the `wp_enqueue_script` command – or although probably (because there is no version number in the call) via a direct `echo` command.
The simplest way to fix the problem would probably be to comment out:
If the template is using `wp_enqueue_script` to load jQuery, please let me know how it does it and I will adjust the plug-in to work off the template’s version of jQuery.
Best wishes,
Martin
Martin I have tried everything possible to resolve this with no avail. I am no expert by any means in wordpress but i have been able to fix any past problems I have had. The theme template I am using is Seduction by ThemeForest. I am unsure if it is using wp_enqueue_script. Would it be better if I allowed you access via ftp?
Sure. That would be handy. Alternatively, make me (briefly) an admin on your site and I’ll be able to look at the template there too. (And then you can remove me!).
I’ll probably find a solution in 5 minutes – or not at all! 🙂
Martin
Hi Martin, thanks for all your time I really appreciate it. I have sent user details to your email address, hope you receive them ok.
I’ve commented out:
in head.php.
I’ve changed
to:
in style.php.
It works now – although there’s still quite a bit to do with the styling… 🙂
Thank you soo much Martin, again I really appreciate your time. I have liked and followed you, is there anywhere I could make a donation, or anyway I could help promote your site?
Happy to help.
If you want to make a donation, then there’s a link on the plug-in page – or you can go directly from here! 🙂
I submitted a small donation, I’m also currently building a few sites dedicated to advertising. If you wish I can place a banner on them for you also.
Hi
I want to display two tweets at once, is this possible? havn’t seen anyone bring it up
Not currently – it only shows one at a time.
Will see if there is some way of doing this with the current script or whether we will need to write a new one…
I have the same request with Shan, wether we can have some option to show not only one tweet in a time. Let say 5 tweets and scrolling up per tweet until meet existing limit set in config.
Sorry for my english….
Hi Martin
how can i install the “Another format of Twitter widget” into my blog?
greetings and thanks for your help
Martin
Hi Atholl,
The easiest way is to download the latest version of the plug-in from http://downloads.wordpress.org/plugin/rotatingtweets.zip.
Let me know if there are any problems.
Best wishes,
Martin
Hi Martin
i have installed the newest version, but i can’t see anything in the readme.txt 🙁
thx for your help
regards
Martin
Have you uploaded the contents of the zip file to the plugins directory?
If so, the options should appear on the widget (if you’re using the widget). Alternatively, the short-code should be something like:
what parameters should I use to make the widget me “Another format of Twitter widget” displays?
Hi Martin,
I just wanted to post a quick message to congratulate on such a great plugin and to thank you for providing such excellent support!
Best regards,
Atholl
Thank you. That’s very kind.
Martin
Hello Martin and all,
Thank you for this great plugin. It’s very easy to use.
I am using it on my soon to come out website as a widget for wordpress.
On your example the links reply, retweet and favourite appear as images. How can I do that? I don’t seem to find the option anywhere.
Thanks for your help.
Thank you for your kind words.
You can get these links via the latest version of the plug-in at http://downloads.wordpress.org/plugin/rotatingtweets.zip.
Hope this works for you.
😀 it’s not the same one as the one on the wp plugins website. Perfect thanks!
Hi Martin,
I was just searching for a plugin for this and found yours. Its great and working like a charm.
One thing – I couldn’t find a proper guidelines like what are the options can be used in short code ( like
[rotatingtweets screen_name="xxxx" rotation_type='Scroll Right']
). Other users will get more benefits if you can put all of them together.
Cheers !
Hi Bhanu,
The options are all listed at http://wordpress.org/extend/plugins/rotatingtweets/installation/
Best wishes,
Martin
Hi Martin,
I have your scrolling tweets widget set up on all the pages of a WordPress website, but it will only scroll on the front page. On the other pages, it shows just the last tweet and does not scroll. Any reason/fix for this?
Thanks.
Marcia,
This normally happens if there is another plug-in or Javascript that conflicts with Rotating Tweets. In particular, this can happen if a script reloads jQuery or jquery.cycle after rotating_tweets.js.
Can you tell me the address of your site so I can have a quick look?
Best wishes,
Martin
Hi Martin,
May I just say thanks very much for an excellent plugin, by far the easiest to setup and fits in with my theme perfectly.
The only issue I have is that same as Marcia, on a page load or refresh the plugin shows my latest tweets but in reverse order, so latest to earliest, and then stops after one cycle. Ideally I’d like to make my tweets rotate in order, and continue to rotate instead of stopping.
Can you help?
Many thanks, Bret.
Hello again,
For the time being I have commented out my themes jquery.cycle but this will break my blog scroller so if there is a better way to fix the issue that would be helpful… also the ordering if this is possible.
Thanks, Bret
Bret,
I think it’s the interaction between the photonics plug-in, the Zee-based theme (a version of which Rotating Tweets has had arguments with before) and Rotating Tweets which is causing the problem.
In essence, photonics and Rotating Tweets plugins are fairly well-behaved and refer to the jQuery cycle script as ‘jquery-cycle’ (and therefore only load it once in normal circumstances). The zeebizzcard (and, I’m guessing, zeeStyle) template calls it ‘zee_jquery-cycle’ – which therefore loads a second version and will usually break both photonics and Rotating Tweets.
To make Rotating Tweets play nicely with the zeebizzcard theme, I added a tweak that told Rotating Tweets to use the name ‘zee_jquery-cycle’ instead of ‘jquery-cycle’ if the template is the ‘zeebizzcard’ template. To make it play nicely with ‘zeeStyle’, one option is to adjust Rotating Tweets to do the same thing with the name ‘zeeStyle’. A way to do this is to replace
with
in the rotatingtweets.php file. This doesn’t, however, solve the problem you are likely to have with photonics.
A better solution long-term will probably be to fix the zeeStyle template – instead of changing Rotating Tweets (and you would also need to change photonics). To do this find where the zeeStyle template refers to ‘zee_jquery-cycle’ and change it to refer to ‘jquery-cycle’ and to continue to comment out where ‘zee_jquery-cycle’ is added to the header. This should make all three work together happily. 🙂
Martin
Hi Martin,
Thanks so much for a quick response. I’ve already commented it out in the theme and I have a current backup so I’ll just go ahead and change it. So basically if everything uses the sitewide JS folder rather than the individual plugin folders that would work OK?
Did you have any idea on the direction of the tweet rotation? I guess once I’ve added a few more it’ll be fine as I only show 5 currently.
Well done on a fab plugin though, I tried many that don’t work properly if at all and many that don’t work with themes very well.
Thanks, Bret.
Hi Martin,
Thanks for this plugin – does just what I needed.
until I upgraded to wordpress 3.5
Now I get all kids of issues.
Screenshot here https://dl.dropbox.com/u/17103929/Screen%20Shot%202012-12-13%20at%2013.18.36.png
I have tried the usual deactivate / reactive. with no joy
Tried deactivate, delete and re-install and now get errors on the widget edit screen. See
https://dl.dropbox.com/u/17103929/Screen%20Shot%202012-12-13%20at%2013.24.58.png
Any clues?
Thanks
Graham
Graham,
No immediate answer. My site is using the development version of the plug-in and doesn’t appear to have the same problem – so that might be worth trying.
Have you changed your WordPress or PHP security or debugging settings?
Martin
Ok so it was as easy as wp debug being true, which I had set of other issues. So that’s sorted.
I too have a no scrolling issue, which I can see from the various conversations is a jquerry loading issue. Is there a good way around this.
Development site at cfss.oandb.info
Also, strangely, client wants scroll on 20 seconds. Could you point me to the place to override the widget settings.
Thanks
Graham
The simplest option is to put an override into line 362:
Alternatively, change the options selector variable from line 156 onwards to:
"3000" => __("Faster (3 seconds)",'rotatingtweets'),
"4000" => __("Normal (4 seconds)",'rotatingtweets'),
"5000" => __("Slower (5 seconds)",'rotatingtweets'),
"6000" => __("Slowest (6 seconds)",'rotatingtweets'),
"20000" => __("Absolute slowest (20 seconds)",'rotatingtweets')
);
PS: The jQuery issue is almost certainly the template call for jQuery in line 60 of your HTML (probably at the end of header.php).
<script type="text/javascript" language="javascript" src="http://localhost:8888/cfss/wp-content/themes/cfss/js/jquery.jfontsize-1.0.js"></script>
I don’t know how this is currently coded, but it would be best done as something like:
wp_enqueue_script( 'jquery-jfontsize', get_stylesheet_directory_uri()."/js/jquery.jfontsize-1.0.js",array('jquery'),FALSE,FALSE );
Thanks for the bookmarks re the timing changes.
Re the jQuerry, of which I am a beginner…
I have implemented jfontsize from http://www.jfontsize.com by luck rather than knowledge.
Supplementing your suggestions gives me rotating texts, but I loose the font size changing functions.
Unless you have any suggestions I might need to find a different font size changing solution.
Thanks
Graham
You’ve now commented out the jQuery font-size text as well!
Probably the easiest way to implement this is to put the jQuery script into ‘\wordpress\wp-includes\js\’ and then add the following to the header.php file of your active template before wp_head(); :
The best way would be to write a plug-in of your own – which is easier than you might fear! 🙂
Martin:
I’m using your development version of rotatingtweets (downloaded today) on WordPress 3.5 and everything works perfect except my twitter profile image does not appear (see: http://trueblissmarketing.com/about/)
And, I tried to insert a pic manually with html, but then the twitter feeds layers on top of the picture.
What am I doing wrong?
~R
Roland,
Are you including
or
in your shortcode?
Martin
This plugin doesn’t work in my theme. I don’t know why. i think that the problem can br confict in Jquery. Anyone can help me?
Although your theme loads its own version of jQuery, I don’t think that’s the problem (although it would still be worth replacing or removing that line).
The badly behaved plugin is Nivo Slider for WordPress which loads its own version of jQuery and overwrites all the previous ones.
I’d suggest either seeing if there is a more recent version that doesn’t do this, editing it to stop it loading its own copy of jQuery or find another plug-in!
Martin
Hi there Martin,
nice plugin. But in my widget or post thers is my avatar/gravatar not showing. Any idea why not?
Best regards and mery christmas …
Martin Sender
Only the development version of the plug-in currently does this.
Looks like I need to polish it up and make it the main version! 🙂
Martin
Hey Martin,
Great plugin, mate. I really appreciate it. A quick query, however: The official plugin with the avatar is my go to and much preferred option, but some of the longer tweets break the layout barriers I’ve established on my responsive site. Is there a way around this? I’d also love to see the avatar a little larger – is there some code I can tweak for this?
Thanks again!
-H
The best way to change the size of the avatar is to add a user-editable stylesheet –
. Something like:
max-width: 3em;
max-height: 3em;
}
should work.
There may also be a way to limit the size of the .rotatingtweets css box via css.
Alternatively, if you’re using a shortcode, you can set the url length via the
value.
Or change the value in line 514 of the latest development version of plug-in (v. 6.10 at the time of writing). (I’ll try to add an option for this asap).
Martin,
Thank you so much for the response. You mention editing the code in line 514. I can edit the code in firebug to get the width proportions correct, but cannot for the life of me figure where the editable width for the widget would be. I checked all spuriously ostensible options. Any help there would also be appreciated.
Pat yourself on the back, mate – you’re a champ in my book!
What happens if you change line 514 from:
to
?
Hey Martin,
Unfortunately, that doesn’t help. It’s not just the URL, it’s the width of the whole paragraph text….
Thanks,
-H
Excellent plugin. Thanks so much for creating (and supporting) this resource. It’s just what I was looking for.
Unfortunately it is displaying the @twitter tweets, not the screen name I ask for. Have I broken something?
(Running 0.604)
This would normally only happen if you were using a shortcode and the screen_name value had been left blank. What have you used as a short-code? It should look something like this:
Ah, genius. Thanks.
I was using [rotatingtweets userid='your_twitter_name'] because that was in the plugin description (on the plugins page). Changing to screen_name did the trick.
Mystery solved.
Thank you for spotting that. I’m fixing it now! 🙂
First: thank you for a great plugin. I only have one problem: when using a responsive theme, the widget resizes up to a point. Rotating tweets seems not to notice until I do a screen refresh (F5), then it resizes correctly. Is it possible to let the rotatingtweets class resize/inherit the width of the parent container widget-area?
Which ‘look’ are you using to display the tweet? For the ‘official formats’ there is some javascript in the plugin that moves the bird to the right – which might be causing the problem.
One option may be that I need to add some code that resizes the plug-in if the screen is resized.
Alternatively, it may be possible to do something by adding some CSS to the main plug-in or to
. It’s very hard to know without seeing the site.
Hello Martin, sorry for the delay. Via this link you can see the examples:
http://smu.gs/13ZRmDN
As you can see, I use the official twitter format.
Regards, Ernst
Does one of the tweets have a really long link?
Martin
No the links are only shortened pic.twitter links. It’s just that the widget doen’st resize the content, when the width of the widget changes.
I’m going to need to try some new javascript. I can’t promise something in the immediate future, since I have quite a bit on!
Great Plugin! Fantastically simple to use.
Thank you.
where your define this style width: >>> 629px; height: 40px; <<<
Thanks!!! 🙂
is the div container rotatingtweet display: none; z-index: 30; opacity: 1; width: 629px; height: 40px;” class=”rotatingtweet”>
The height is always calculated via javascript – either by rotating_tweets.js or via jquery.cycle.
And the width is often calculated via javascript for the official formats.
have you an idea, how can i show two tweets at the frontend at the same time.
I’ve looked at this and it would require an entire rewrite of the jquery.cycle plug-in and so it’s not a priority right now. Sorry about that.
I’m using your excellent plug-in with a dynamic_sidebar(“header-widget”) How would I enable the plug-in so it always shows reply, retweet, favourite, in the Official Twitter Guidelines without having to click expand?
Currently you’d choose ‘Official Twitter Guidelines (regular)’ in the options…
To change the ‘Official Twitter Guildelines (wide)’ design would be harder because it’s pretty baked into code. The only thing I can think of is to change
to
in line 709 and remove
from line 721. And then possibly add something like
margin-bottom: 0.35em;
}
in yourstyle.css
Hi Martin,
Installed Version 0.612 and widget works fine. Cannot get shortcode for posts or pages to pull in a twitter username. All I get is the Twitter timeline for Twitter > https://twitter.com/intent/user?user_id=783214. I’ve tried several usernames all with same result. Any suggestions?
Hi David. Are you using screen_name = “username” ? Can you post an example shortcode ?
Martin
Hi Martin,
This is the shortcode I’m using > [rotatingtweets userid="username"]. I read earlier threads and noticed the apostrophe use. I updated the shortcode and still do not get the user feed I want.
Okay, figured it out, instead of userid, I swapped it out with screen_name. Shortcode description should be updated in wordpress depository.. Thank you
Now fixed. Apologies. Thought I had done it earlier.
Hi Martin, this is a great plug-in. my question is what would be the short code to include other users tweet as well. thanks
Hi Ranga,
Currently it only shows one user at a time.
When I get the chance, I’ll see if there’s a way to do this in an upgrade.
Best wishes,
Martin
Hi Martin:
I was using the widget plugin Rotating Tweets and everything was fine, but it has suddenly stopped working in Firefox.18.0.2. It works fine in IE, Chrome and Safari.
Please see the two instances of where this occurs. When you load the page, you see it, then it disappears.
On this page it should appear under the copy “RETWEET & SPREAD DISTRICTWIDE” in the right sidebar. http://www.curryforstatesenate.com/
On this page it should appear under the copy “CONNECTICUT BUZZ” in the right sidebar, just above the Facebook Like box. http://www.curryforstatesenate.com/blog/
You’ll see it works fine in the other browsers, but not Firefox.
Many thanks for your thoughts on how to correct this — I’be been enjoying the widget you’ve created.
Susan
How odd. Which version of Firefox are you using? I’m on 18.0.2 for Windows and it appears OK.
Hi Martin:
Many thanks for your prompt reply.
Yes, I did indicate the version in my letter to you (1st paragraph), — same as yours, 18.0.2. So, since you said it was fine on your end — I tried clearing the Firefox cache before writing again. However, this did not resolve the problem for me on either page.
It is so bizarre, because it appears and then it disappears — only the header (ie: RETWEET & SPREAD DISTRICTWIDE or CONNECTICUT BUZZ), remains after the Twitter feed disappears. And only in Firefox.
Many thanks for any suggestions — I am at a loss — I’ve researched this profusely but am unable to find anyone having this issue.
Susan
Might it be a plug-in. Which ones are you using? This is very strange.
The plugins currently activated on the site are:
Akismet
All in One SEO Pack
CloudFlare
Dynamic Widgets
Jetpack by WordPress.com
LazyLoader
Pagelines Sections
Posts in Page
Post Types Order
Revolution Slider
Rotating Tweets (Twitter widget & shortcode)
Simple CSS Lite
Select Slick Social Share Buttons
Select Special Recent Posts FREE Edition Special Recent Posts FREE Edition
Tweet Blender
W3 Total Cache
I was thinking of Firefox plugins! Apologies.
these are the plugins currently enabled in my Firefox browser:
Adobe Acrobat 11.0.1.36
Google Talk
Google Talk Plugin Video Accelerator
Google Update
iTunes Application Detector
Java Dvelopment Toolkit
Java Platform SE 7 U9
McAfee Security Scanner
NPIG.dill (canon camera)
Photo Gallery
Quicktime
Shockwave Flash
Silverlight
Hi Martin —
how are you — just wondering if you had gotten my reply with the list of Firefox plugins — I have disabled several of them and still it does not work — it shows up, then a few seconds later, disappears….on another note, I tried it on another Win 7 machine using same Firefox version and you can see it, it doesn’t disappear — any thoughts?
many thanks for your time…..
Susan
Do you have the HTML for the tweet it disappears on?! It might be worth looking at the HTML to see if there is anything odd about it.
yes, and please forgive me for not mentioning in prior reply, I am on Win 7.
Susan
Here is the URL for the first tweet that currently appears — the code is quite long, I thought I would just send the URL and you could call up the code:
https://my.democrats.org/page/signup/help-reduce-gun-violence?source=DNC_TW
alternatively, since it reads for you you can go to the two instances of Rotating Tweets and click on the link to the tweet to see the code. The two instances of Rotating Tweets are:
On this page it should appear under the copy “RETWEET & SPREAD DISTRICTWIDE†in the right sidebar. http://www.curryforstatesenate.com/
On this page it should appear under the copy “CONNECTICUT BUZZ†in the right sidebar, just above the Facebook Like box. http://www.curryforstatesenate.com/blog/
thanks for any help.
Susan
Which tweet doesn’t appear or makes it disappear?
Martin
the first tweet on load in both instances (both pages), appears, then in about a second and a half to two seonds, it disappears — only the header remains (RETWEET & SPREAD DISTRICTWIDE or CONNECTICUT BUZZ).
Hi Martin — I’ve been dabbling and I unistalled something that seems to have it all working now in Firefox — many thanks for your input and the great plugin — best wishes….Susan
I was going to suggest switching off various bits of Javascript, but I’m glad you’ve found the solution.
Good morning.
First of all tell you that I love this plugin.
I’m working on the following website to wordpress: http://www.elsbremen.com
Yesterday I installed the plugin and it worked perfectly.
After a few hours it stopped working.
I also installed the plugin Social Media Widget. I do not know if it can be a matter of incompatibility. I tried deleting the second and has not been solved.
Can you help me, please?
The line that does this is:
This is normally caused by the zeebizzcard theme and there is a fix built in to fix that, but I see you’ve customised it under the name of the bremen theme perhaps? Is that a daughter theme?
The latest development version of the code may correct for this!
Martin
Hi Martin,
Installed your pluggin, but error.
It says:
“Problem retrieving data from Twitter”
“Please check the Twitter name used in the settings”
Don’t know what I did wrong.
Do you have an answer to this?
Can you tell me what site you are using the plug-in on?
Also which version of the plug-in are you using? Is it the latest one?
Are you using the plug-in as a widget or as a short-code? What screen_name are you using?
Finally, have you input the right codes from the Twitter website as per the instructions yet?
Martin I am fairly new to the WP platform but enjoying the learning curve. Is there a reason why I can see your widget and shortcode working in IE but not Firefox?
I have no idea! It seems OK on http://torontowildcats.com. Can you let me know which site this is happening on and I’ll take a look?
Hi Martin,
Thanks for the plugin certainly one of the best my brother in law and I have found, however we would like to put this plugin as a widget on the front page, very new to all this hence using a template and WordPress. Our problem seems to be that the default css of the template is taking over the colour of link within the tweets which also seems to be the background colour of this part of the template, is there a way of changing the link colour within the css of the plugin and if so if you don’t mind me asking how?
Kind regards
David
David,
Which tweet format are you using? The ‘official’ tweet formats do change the link colours to match Twitter, but the default option doesn’t.
Does this solve the problem?
Martin
PS: you probably need to go into your hosting and delete the /twitter-feeder directory!
Hello,
I like the plugin, not the API settings for just one twitter account. I am working on a website for a client that has two twitter accounts. Is there a way to add a second account with the plugin or do I have to create a ‘second’ wordpress site in a different folder for the other twitter account.
Although the API settings only support writing to one twitter account, they can read from multiple accounts.
Rotating Tweets doesn’t post anything to Twitter – just reads. So the API settings should support reading from as many accounts as you want.
That said, I’ll try to make the instructions a bit clearer.
The plugin is wonderful, maybe you can consider putting a “random” or “timeline” option, which I am modifying the code everytime you updated to have this feature 🙂
I’m not sure I understand.
Do you want to sort the tweets in random order? Or to use a random transition?
Dear Martin
I have problems after upgrading to IE 8.
Everything fine with Firefox Chrome Safari & Opera.
With IE8 there is no rotation of the news.
Looking at your blog I saw that instead of http://www.doremifasol.org/news/
the plugin also works on IE8. What am I doing wrong?
Thanks in advance and congratulations for the plugin!
Same problem with IE9 on win7
Thanks again!
What happens if you press [F12] and look at the Console Log?
Also, if the console doesn’t give any clues, is there another plug-in that seems to be stopping it working? What happens if you switch them off one by one?
Martin
Dear Mark,
It’s working on IE10 – but I don’t have IE8 unfortunately and can’t check to see if it does the same thing for me.
Was it working in IE8 before the recent upgrade to Rotating Tweets? Or did it only go wrong when you upgraded to IE8?
Martin
Dear Martin …
Thanks for quick reponse
The only data visualized with F12:
LOG: rt_target_width = 300
LOG: rt_target_width = 300
‘console’ non è definito rotating_tweet.js?ver=3.5.1, Riga 23 Carattere 3
!!! After debug all work perfect… possible?
The problem in present also on your site… i don’t see the rotation… in the site: http://www.doremifasol.org/news/
All works perfect.
Thanks again! Mark
Cracked it! Turns out that console.log isn’t supported on old versions of IE and was breaking the plug-in!
Updating the code now.