Categories
Technology Twitter Wordpress

New twitter plugin – to show tweets in rotation

As tweeted yesterday, I’ve just completed a new Wordpress plug-in to show rotating tweets. You can see it here.

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:

[rotatingtweets screen_name="mpntod"]

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…

About 2 months ago from Martin Tod's Twitter via Twitter Web App

For a bit more fun, you can add some extra options such as:

[rotatingtweets screen_name="mpntod" rotation_type='toss']

And the latest version goes for the official look:

[rotatingtweets screen_name="mpntod" official_format='1']
[rotatingtweets screen_name="mpntod" official_format='2']

You can also search:

[rotatingtweets search='#secretcourts']

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”

New error in twitter feed:
Twitter error code: 68 – The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.

Please check the Twitter name in the widget or shortcode, Rotating Tweets settings or the Twitter API status.

In debug mode this error appears above the widget: /rotatingtweets.php on line 944

Also very interesting, it appears that my Oauth settings are not being saved. After I input them and click save, this page pops up:
http://coaching.valiantlane.com/wp-admin/options.php. This has happened before, I think it was after the last dev version, and I didn’t realize that the settings weren’t being saved.

After changing line 85, many errors in same file at line 33, which is:
if($_GET[‘page’] == $this->pageinfo[‘filename’])

Pages are in debug mode, see at: http://coaching.valiantlane.com/test-rotating-tweets

First (easy) fix, try changing line 33 to:

if(isset($_GET['page']) && $_GET['page'] == $this->pageinfo['filename'])

Definitely a problem that the settings aren’t being saved – because we won’t be able to test anything until they are. I’ll see if I can replicate the problem.

Martin

Changed ln 33. Back to square one: http://coaching.valiantlane.com/test-rotating-tweets. I changed that line back to original, page still crashed.

Need site up so made pdfs of errors on tweets page:

http://coaching.valiantlane.com/wp-content/uploads/2013/09/Test-Rotating-Tweets-_-coaching.valiantlane.com_1.pdf

and the settngs page for what happens after clicking save:

http://coaching.valiantlane.com/wp-content/uploads/2013/09/RotatingTweets_errors_save.pdf

Many thanks. Do you have the last lines that are showed when you ‘View source’ (in IE) or ‘View page source’ (in Chrome or Firefox). You need to right click on the page to get the option.

The last lines of HTML are normally the best clue for what is going wrong.

This is really frustrating. It seems to be asking for very similar data to my page, but for some reason the server is crashing…

<!-- wp_remote_request() variables in lib/wp_twitteroauth.php:

$url = https://api.twitter.com/1.1/statuses/user_timeline.json?count=70&#038;exclude_replies=0&#038;include_entities=1&#038;include_rts=0&#038;oauth_consumer_key=IOVwRoiubX6dQk6IqlGZcw&#038;oauth_nonce=558845dec459d2cac187a6134a125eb4&#038;oauth_signature=icGZ95DUjFvZ4gqx%2FkbRqcARAqc%3D&#038;oauth_signature_method=HMAC-SHA1&#038;oauth_timestamp=1378337594&#038;oauth_token=1443625452-0hZL7sIRATOptDWR40nTPwS4zLBMF3dITFQ04LI&#038;oauth_version=1.0&#038;screen_name=valiantlane

$args = Array
(
    [method] => GET
    [timeout] => 3
    [sslverify] => 1
)

-->

I’ve added an extra debug line to double-check that it’s the wp_remote_request() that’s causing the problem.

Have you had any server changes or plug-in installations that might affect how WordPress fetches files?

Well, at least we now know which line of the code is crashing!

What happens if you switch SSL Verify to ‘No’ on the settings pages?

And what other plug-ins are you currently using?

I have a nuclear option in mind to address this – in essence, I would replicate the hack I used to allow you to reset the settings to bypass the wp_remote_request() and use the original wp_twitteroauth.php cURL code to fetch the data – but I’m keen to avoid this if I can!

Martin

I’ve updated the dev version so that if you get a crash that stops you updating the settings, it switches off the error checking for 24 hours to enable you to update the settings without crashing the page!

This enables people who have a problem with wp_remote_request() to input working settings.

No change switching SSL to no.

Plugins (all are activated):
Akismet
All in one Favicon
All In One SEO Pack
Custom Post Templates
IQ Testimonials
SI CAPTCHA Anti-Spam
Simple Page Sidebars
Social Media Widget
WP-Table Reloaded

With RT in widget and all PIs on, formatting crashes, RI and other widgets in same sidebar disappear. While leaving RT on and in sidebar widget, deactivated each PI to see impact and the only one that made a diff was Simple Page Sidebars. The formatting still crashed, the two widgets in the sidebar above RT appeared but the one below it didn’t, and RT still did not display. Interestingly, when I turned SPS back on, the two top widgets still displayed, which wasn’t the initial case when all widgets disappeared.

Here is the page source code for SPS off and on with debug off.

http://coaching.valiantlane.com/wp-content/uploads/2013/09/pagesource_RTwidget_SimSideoff.pdf

http://coaching.valiantlane.com/wp-content/uploads/2013/09/pagesource_RTwidget_SimSideon.pdf

Here is the page source code for SPS off and on with debug on.

http://coaching.valiantlane.com/wp-content/uploads/2013/09/pagesource_RTwidget_SimSideoff_debugon.pdf

http://coaching.valiantlane.com/wp-content/uploads/2013/09/pagesource_RTwidget_SimSideon_debugon.pdf

Good luck & thanks for hanging in there!

The page source codes above were for when there was no unique sidebar per page and the only sidebar with widgets was “displayed everywhere.”

There are 2 options for unique sidebars per page, one with the Simple Sidebars PI and through the Avisio theme. Here are the source codes with debugging on for when there is a unique sidebar:

http://coaching.valiantlane.com/wp-content/uploads/2013/09/pagesource_RTwidget_SimSideon_UniqueSidebar_debugon.pdf

http://coaching.valiantlane.com/wp-content/uploads/2013/09/pagesource_RTwidget_AvisioTheme_UniqueSidebar_debugon.pdf

Hi Martin,

Wish I could say it worked, but it didn’t. See
http://coaching.valiantlane.com/test-rotating-tweets. Here is page source with debug on:
http://coaching.valiantlane.com/wp-content/uploads/2013/09/pagesource_error_test-rotating-tweets.pdf

I also tested another twitter feed plugin as well as script that I downloaded from twitter.

The other plugin crashed the page too, see at: http://coaching.valiantlane.com/test-simple-twitter-tweets. Here is page source with debug on: http://coaching.valiantlane.com/wp-content/uploads/2013/09/pagesource_error_test-simple-twitter-tweets.pdf

The code direct from twitter worked just fine. See at http://coaching.valiantlane.com/blog. In case pg source code helps here it is:http://coaching.valiantlane.com/wp-content/uploads/2013/09/pagesource_noerror_scriptfromtwitter.pdf

Checked my twitter account and app for this site to access twitter is functioning.

I rechecked settings for oauth in twitter developer and it looks right. I looked at guidelines for filling in the info and I think it’s right. However, that doesn’t mean it is. What should I look for? I even reset the consumer key & token to see if that would help, and it didn’t. If there is a private way to get them to you, I am happy to send you my settings and oauth pages for a look.

BTW, I tested RT and another plugin on another website of mine. They didn’t crash the page but the tweets never showed. So there must be some error in the oauth somewhere, either in a plugin or wp file or I haven’t set up the app right.

Again, thanks for hanging in there with this.

Cool. We now know the problem. We’ve got it down to one function!

In essence, your cURL configuration is not working with WordPress.

First way of fixing this (perhaps) is to install the latest development version and then comment back in line 1669 so that we get

function rotatingtweets_block_transport() { return false; }
// add_filter('use_http_extension_transport', 'rotatingtweets_block_transport');
add_filter('use_curl_transport', 'rotatingtweets_block_transport');

If this doesn’t work, we need to install Core Control – and use the http: modules to debug the connection and, probably, switch off CURL.

Well at least that page shows that my hack for switching off cURL works! 🙂

Does the page still crash with line 1669 ‘activated’?

Probably the best thing to do now is to:

  1. Go back to the original version of the script (i.e. comment 1669 back in and use the original version of wp_twitteroauth.php [were you doing this already – 1669 would have no effect using the branched version])
  2. Test each of the transports via Core Control – and disable the ones that don’t work
  3. See if this fixes the problem.

Martin

PS: The reason the Twitter code works is that it doesn’t pull in the Tweets and display them like WordPress. They are sent directly from Twitter to the browser…

Dear Martin,
Thanks for creating the plugin. Have used it before but now I was asked for the following:
I would like to use your plugin with more than just one screenname. So i can have a team of the company sending tweets and show them on the site. Besides that I would like to add some shortcodes withit. So shortcodes and screennames in one rotating area. Is that possible? If so can you show me the shortcode or lines I have to alter ?

thanks, Brent

Thanks it works with the several persons, but I can’t find a way to add AND people AND #hastags.

for instance ‘from:vanbrent OR mpntod AND #health AND #apple’

Am really not good in coding, hope you can help me out(again).

Yep, still crashes with 1669 activated. Reloaded the dev version of RT, so wasn’t using the wp-twitteroauth.php you posted here yesterday. Will reinstall the original RT and check it out with Core Control.

No burning need to have the latest release instead of the dev release.

Only option I can see is seeing if Core Control can give us a working transport that doesn’t crash WordPress! I will be very interested if you can let me know the results of testing each of the transports.

Best wishes,

Martin

Hi, thanks for the great plugin.
One question: how do I get only some of my tweets visible and not my whole account.
I now have [rotatingtweets screen_name='esterb11' search='#Heyku' tweet_count='5' timeout='3000'], but that will also rotate tweets from others with #Heyku. I only want the #Heyku on my timeline.

Can you help me?
Best regards,
esterb

Hello Martin,
I have tried this on 1 site and it worked fine. Then I tried it on another fresh install and the tweets won’t rotate. I read all of your FAQ on it and nothing there helped. I uninstalled it and then thought I cleared everything and re-installed it and my widget was still in place with all of it’s data. SO when you delete you plugin, it doesn’t remove everything so you can do a clean install. So I need to know what else there is to try. I have disabled all of my plugins. The theme I am using is Pressimo By MagPress.

Any help would be appreciated! 🙂

Thanks!

Have you tried version 2 of the script as per the Rotating Tweets settings page?

I’ve tried it with a clean install of the latest version of Pressimo and it seems to rotate for me – although it has big problems with widget width using version 1 of the script.

Good question re: widgets. RT doesn’t remove them. I’ve had a look at the latest version of the API and it doesn’t seem to let you do this.

Martin

Yes I tried Version 2 and it breaks the widget. I’ll strip it all down and see if I can find the culprit. As of now Console doesn’t show me any errors. Nothing in the log files either. Has me stumped!

Very odd not to see anything at all in the Console Log. Sometimes it can be a reference to something completely different that highlights the problem (i.e. something else is crashing Javascript).

You might get some extra diagnostics if you switch WP_DEBUG to true in the wp-config.php file – but probably not (and this normally finds a load of other bugs).

What this can sometimes be is a ‘hidden’ copy of jQuery or, possibly, jQuery.cycle. It’s there as a second copy overwriting everything that came before – but not with an obviously identifiable filename.

If you send me a link, I can take a look if that helps.

Martin

Hi Martin,

Great plugin, was wondering if there was any way of adding in buttons to control the rotation of the widget? Meaning users could manually cycle through the tweets if they wanted to?

Also, is there anywhere you have listed all variables for the shortcode implementation of the widget?

Thanks in advance!

There is in the shortcode – as per http://wordpress.org/plugins/rotatingtweets/installation/

The relevant codes are:

  • show_meta_prev_next = ‘0’ or ‘1’ – show ‘next’, ‘prev’ links – optional – default is ‘0’
  • prev = content for the prev button (default ‘prev’)
  • next = content for the next button (default ‘next’)
  • middot = content for the space between the buttons (default ‘ &middot; ‘)
  • np_pos = position for ‘next’ and ‘prev’ buttons – ‘top’ or ‘bottom’ (default ‘top’)

If you have:

  • Installed and activated the Rotating Tweets plug-in
  • Entered the Twitter settings on the Rotating Tweets settings page as per the instructions – and not seen any error messages at the top of the page
  • Installed a widget or added a short code to a page or post

you should be seeing something on your page.

if you’re not, can you send me a link or details of the template you are using?

Martin

It’s hard to check because the widget isn’t currently on your blog, but a way of doing it for Rotating Tweets would be something like:

div.rotatingtweets {
    color: black;
}

but you may need a more global solution such as:

aside.widget {
    color: black;
}

Hi and thanks for the great plug in. I have only one issue. I would like to be able to increase the size of the title text, maybe center it or have the twitter bird before the title. You can view my website as my email adress. Where and what do I need to change.
Thanks,

You can do all of this via CSS. For example, you can change the size of the name and centre it via:

div.rtw_name {
   font-size: 1.2em;
   text-align: center;
}

and the tag via:

div.rtw_id {
   font-size: 1.1em;
}

Do you mean auto-refreshing after the page is loaded?

No. Currently the plugin doesn’t do this.

Because there are quite tight restrictions on how often a site can get data from Twitter, it would be quite tricky to implement.

For some reason, the JavaScript isn’t appearing on the page anywhere.

I don’t know if it is another plug-in causing this or if `wp_footer()` or `wp_header()` is missing from your template.

What happens if you change the JavaScript settings on the Rotating Tweets settings page?

Have you tried loading the site with WP_DEBUG set to true in wp-config.php ?

Martin

Thanks for the quick response Martin! I ended up using a hack and hardcoding the references to the js files in header.php. It worked for the artist pages but the home page does not show any tweets. It appears that the javascript is working on this page as well. Any ideas??

Hi Martin!

Thanks for this great plugin, I really appreciate it! I’m using it on my current website which will go up officially at some point. You can find my website under
http://69.89.31.80/~climatk6/climatesnack/

I do have this white space in between the Follow button and my menu bar… do you know how to get rid of it? I didn’t have this problem with the other Twitter ticker I used previously.

Thanks,
Matt

Somewhere in your stylesheet, you’ve got:

.widget {
    margin-bottom: 30px;
}

So, you need to have something like:

.widget.widget_rotatingtweets_widget {
    margin-bottom: 5px;
}

in your CSS.

Hi Martin,
I really enjoy the plugin. I have a problem however. I use the plugin in a post, but the space where the tweets are supposed to be have somehow shrinked to something like half a line, and I can’t figure out why. In that way I cannot see the tweets… Can you help me on this?

Hi Tod,

I am using your rotating tweets plugin on the homepage of my website. Its a great plugin but I dont understand why it is showing your tweets instead of mine. I have created API using my own twitter account. It is working perfectly on the sidebar widget but only the problem is on the home page.

Any help would be really appreciated. Keep up the good work!

Regards
Talha

Hi Martin,

First of all great plugin! I am using wordpress canvas and have a couple of issues. Using rotating tweets 1.6.7.

1. What CSS do i need to resize the fonts? Does this need to be updated in the script??

2. I have added the ” official_format=’1′ ” to improve the feed, but this is not showing up in the twitter feed..

[rotatingtweets screen_name="ss_living" official_format='1']

Cheers

Aaren

Ok, so i solved 1. with the follow code i found from another thread;

still have not solved 2.

p.s. this information on modifying the properties would be really useful with the app details for users who may be new to this, such as myself. But good work on all the feedback on your page!

Apologies – here is the code i found!

div.widget_rotatingtweets_widget, div.rotatingtweet, div.widget_rotatingtweets_widget div.widget-title {
max-width: 240px; font-size: 10px;}

Aaren,

I’m surprised that your shortcode isn’t working. I copied it exactly onto my site and it did!

What result were you expecting from official_format=’1′ ? What happens if you try official_format=’2′ ? Can you send me a link?

Martin

Hi Martin, I upgraded your plugin from 1.4.7 to 1.6.7. WordPress 3.5.1

I got this error:
Problem retrieving data from Twitter.
Wordpress error code: http_request_failed – SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Please check your PHP and server settings.

Can you help me? Where I wrong? Thank you.
ale

Nothing.
In the same page I have the rotating tweets in the sidebar as widget and in the page like shortcode.

In the sidebar widget I got only one tweet old 2 months, in the page i got the error: Problem retrieving data from Twitter. WordPress error code: 999 – Failed to read valid data from Twitter: problem with wp_remote_request()

In the screen_name property, I have to write the twitter nick or the name of the twitter app I create here dev.twitter.com? I wrote the twitter nickname.

This is a tricky one. I’m not quite sure what WordPress is getting back from Twitter.

The latest development version has some code to identify what the problem might be – if you set WP_DEBUG to true in wp-config.php it will provide a lot of useful information in the HTML.

Hi Martin,
Thanks for your great plug-in that works fine on WP 3.8.1.
Is is possible to set the amount of time (in seconds) each tweet (i.e. the rotating time) is displayed in the shortcode?
Best wishes,
Jan

Normally this is a JavaScript problem. Either the Rotating Tweets JavaScript isn’t displayed – or it clashes with another plug-in’s scripts.

Have you tried both versions of the script on the settings page? Looking at your page, I think your best bet will be to use version 2 of the script.

Hello. Rotating Twitter is a brilliant plug in. Well done! I am using it on my own site and would love to use it on a site I am tweeking for an educational organisation in London. The only problem is: I would like it to display only the last 10 tweets on the timeline or last 10 tweets from users on a list. I don’t want the display to clog up with old tweets. Can I tweek the code to do that? What would I need to put in and where? Are you going to be creating any more great plug-ins? All the best. John Ellis

No need to tweak the code.

It’s an option in the shortcode:

[rotatingtweets screen_name='your_user_name' tweet_count='10']

and it’s an option in the widgets as well using the ‘how many tweets’ drop down box.

Hi Martin!

You may remember that last year my site was crashing with RT. Wanted to let you know that the latest version of RT works beautifully in my new WordPress template! You can see it at

http://coaching.valiantlane.com/about/our-founder

I do have a question. I want to change the text color of the tweets and tried to do it in style.css in the three lines of code for color. The color didn’t change. Any ideas of how to resolve that?

Very happy to have RT on my site! Thanks so much!

Valerie

Hi Valerie,

Great to hear it’s working properly now!

What happens if you add something like:

div.rotatingtweet p,
div.rotatingtweet p.rtw_main a,
div.rotatingtweet p.rtw_meta a {
    color: blue;
}

to your rotatingtweets.css file?

Hello

It seems that there is something awry with character encoding, specifically æøå that is replaced with question marks etc. Any idea why? Often, this happens if the php-file isn’t encoded as UTF-8, but this does not seem to be the case at hand here.

I’ve put your feed on my test site at http://www.martintod.org.uk/blog/ and it works fine. Very odd.

What is the DB_CHARSET set in wp-config.php ? What happens if you comment out line 1467 of the plug-in?

Finally, if you set WP_DEBUG to true – you will get a LOT of extra info – which might help with the decoding. We probably need to find out if the corruption happens when the data is stored or when it is displayed.

Hello Martin,

My Website: http://djdims.fr/

1. How can I limit the number of characters?
2. How do I enable manual rotation of tweets?
3. How to make a link to the complete block tweet in question?

Thank you very much!
soon

The space in between is the `middot` variable.

`tweet_length` worked when I tried it. Have you installed the latest development version? Which `tweet_length` did you set? Could you post your short-code here?

Hi,

Thank you very much, I understand the system.

But I do not want the space that generates the variable ‘middot’ how do I do?

Shortcode :

[rotatingtweets screen_name="iAmDjDims" show_meta_timestamp="0" show_meta_prev_next="1" show_meta_screen_name="0" link_all_text="1" middot="0" show_meta_via="0" tweet_length="40"]

Try the latest development version of the plugin and:

[rotatingtweets screen_name="iAmDjDims" show_meta_timestamp="0" show_meta_prev_next="1" show_meta_screen_name="0" link_all_text="1" middot="" show_meta_via="0" tweet_length="40"]

I love the plugin.
Would it be possible to add formatting options?
I would like a black thin border around it so it looks the same as my facebook widget.

Thank you, this is perfect.

But when I change the file ‘language’, nothing happens?

I would change the French file, but when I replace “before” with “^”, nothing happens …

Incidentally, the correct translation is: “Précédent” in French.

Thx

You normally need two files to edit the language. You edit the .po file in text. And then convert it to a .mo file for WordPress.

The trick is to use a piece of software like poedit – this also converts the .po file to a .mo file that WordPress can use.

Please send me an up to date .po file and I’ll update the standard file. 🙂

Hi Martin,

Thanks for really elegant plugin.

I was wondering if I can remove the rounded box from around the Tweet window and if I can reduce the margins/padding from the Tweet content.

I have embedded the plugin into another element which has its own styling and padding.

Thanks,

Nick

Nick,

The appearance of all the elements of the plug-in are completely editable via CSS. It’s hard to say more without seeing your particular site.

Martin

Hi Martin,

Thanks for the reply. I have moved on a bit from the last time I posted and wondered if you were able to help me achieve the following?

The website is: tbcscurrent.wpengine.com

This site is in development and I would like to set the ‘Rotating Tweets’ box to be the same as the others in that row. [These aren’t finished graphics merely place holders for now.] The site is responsive so I need ‘Rotating Tweets’ to follow the behaviour of the other graphics when the window resizes.

I could also do with having square corners too, and the same padding/margin as the other graphics in the row.

Hopefully that explanation is clear. Any help would be much appreciated!

Regards,

Nick

My general way to sort this is to set the size of div.rotatingtweets, div.rotatingtweet and section.shortcode-action-box via CSS using max-width or width and/or max-height or height. I find right clicking (in Chrome) and inspect element – as well as the ability to edit CSS on the fly – very helpful in sorting this out!

Hope this helps,

Martin

Hi, thanks for a great plugin. I just wanted to know is it possible to display tweeted photos in the feed with this plugin?

Thanks
Gary

Hi Martin, thanks for your work on this plugin.
My tweets are rotating and everything seems to be working fine except that it is not posting my most recent tweets.
Any possible solution to this?

Great, simple plugin!

Any way I can display more than one tweet at a time? I already have it rotating through 10 tweets.

I’m happy to edit the code if needed, just wondered if there was an easier way, ie with shortcode?

Very odd. I’ve never seen that before.

Two possible options:

  1. Try version 2 of the JavaScript
  2. Try some extra CSS in your stylesheet (or in an extra rotatingtweets.css stylesheet in wp-content/uploads) – something like:
    div.rotatingtweets {
       width: 605px;
       height: 150px;
    }

How can I place the follow button before/over the tweets rather than below as the default version does?
Thanks for a great and flexible plugin.

The fastest option would probably be to have a separate text widget which includes something like:

<div class='follow-button'>
    <a href='http://twitter.com/mpntod' class='twitter-follow-button' data-show-screen-name="false" title='Follow @mpntod' data-lang='en'>
        Follow @mpntod
    </a>
</div>

Hi Martin,

Been using the plugin for over 2 years now – It’s great 🙂

I have a feature request. Would it be possible to render images within tweets inline? That is, if a picture is tweeted out, it is shown rather than just the link?

Many thanks.

Mark

Hello Martin,

First of all, thanks for your great twitter plugin.
It works almost fine…except; no effects? I can’t get it to rotate..? No javascript errors, no log errors…Javascript is loading, jQuery also; but still no rotating effects.

I use [rotatingtweets screen_name='Speedynetworks' tweet_count='5' timeout='3000' show_follow='1' no_show_screen_name='1' rotation_type='toss' links_in_new_window='1' speed ='1000']

Can you help me out..?

Does your page only load jQuery once? That can be a problem.

Alternatively, have you tried the other version of the JavaScript on the settings page?

Is anything showing up in your console?

Hi Martin!
I’ve a request.
I’m not a genius with codes so is it posible that the solution is very close.
I wish create a shortcode that show my tweet but not the tweet that have a specifically #Hasgtag.
In order to Twitter’s using-advanced-search, I’ve try this

[rotatingtweets screen_name='mynameintwitter' include_rts='1' tweet_count='7' timeout='3000' search=-'#openacamera']

but not working! Any suggestions?
Thank you
Sawa

Hi Martin,

Great plugin! Have one question and have looked through comments but no luck.

I am currently using this short code

[rotatingtweets screen_name='Username' official_format='1' show_meta_screen_name='0' show_meta_via='0']

However it is still showing the screen name. Is there any way to have the official format without the screen name & twitter icon? As I like the look of official format 1 with the timestamp and call to action icons.

Thanks.

Dear Martin,
I have been using this plugin for quite some time now and it worked very well. But now I ran into an error:
– Problem retrieving data from twitter. –
I use the “rotating tweets” widget. Using one twittername works fine but in the past it also worked with more names. Is the way to write them down in the “twitter name” field dchanged?
@nameone @nametwo @namethree

How to show 10 tweets with the widget from three different persons?

Are there any tweets on those accounts recently? The Tweet Search API works on an incredibly short time frame.

Another option for this would be to create a list with the three accounts on it. This doesn’t use the search function so doesn’t have the small search window.

Yes it has been a while since some of them posted a tweet. I do not know how to make a list with the three accounts on it. Can you give an example?

Go to https://twitter.com/nameone/lists and create a list with @nameone @nametwo @namethree in it. Called namelist perhaps!

Then, in the widget, select ‘list’ as the type of tweets and then put nameone as the name and namelist as the list tag.

If you’re using a shortcode, go with something like:

[rotatingtweets screen_name='nameone' list='namelist']

Hey there Martin,

I’m using your plugin on several sites, and it’s working great. A client of mine has a non-WordPress site and we’ve been trying to find something out there that does what your plugin does, but haven’t really been able to find anything we like that works reliably.

What would it take to create a version of this plugin that didn’t need WordPress to function? I bet you could do decent with something like what I’m talking about over at CodeCanyon or somewhere like that. There’s one there now we’ve been using called LiveTweets by a guy named Johan Dorper that is unreliable, the documentation isn’t good, and the support is pretty non-existent.

In principle it’s possible – although the plug-in does rely heavily on WordPress for caching, cleaning and storing data.

In essence:
– Reading the Tweets uses an available library – adapted to work better with WordPress
– Storing and formatting the Tweets is heavily intertwined with WordPress and would need quite a bit of work
– Rotating the Tweets uses an available library – and would be quite quick to adapt

Martin

Hello Martin.

I’m quite embarrassed to ask this question as (from my searches) it seems no one else has had a similar problem: where is the “Rotating Tweets settings” page? I’ve looked for over an hour and can’t find it. The widget I’m using contains settings options, but no place for the access tokens.

Many thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.