Twitter to Blog Posts Automatically WordPress Plugin

August 27, 2012 6:46 pm Published by 50 Comments
Share Button

With the new features of WordPress making it as easy as copy and paste to publish your tweets within your blog now it’s even easier with this automated plugin.

Publish (embed) your Tweets to your WordPress blog automatically (every hour) or manually with one simple click.

Update: Twitter has now upgraded its API and because of this, this plugin no longer works. I am contemplating revising this plugin to work with the new API however, it would require end users to create user credentials with Twitter’s API which is easy for the tech savvy user.

Official Plugin Page on WordPress: http://wordpress.org/extend/plugins/twitter-blog-posts-automatically/ 

Installation

  1. Upload ‘/twitter-blog-posts-automatically/’ folder to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Define hashtag and/or username and category settings by going to Settings > Twitter to Blog Posts.
  4. Wait for an hour or press the button ‘Run a Twitter Scan’ to publish any tweets (based on your settings) since the plugin activation.

Need help? Bugs? – Comment!

Share Button

Categorised in: , ,

This post was written by Steven Sullivan

50 Comments

  • Ruby says:

    Great Plugin and it looks terrific on your site.

    I must be doing something wrong, however. I installed it at BrazenlyLiberal.com and it says it’s publishing tweets, but they’re not showing up on the blog. Does this plugin only work with certain themes?

    • Hi Ruby,

      It runs every hour or if you run it manually it will only pull the tweets made after a the date and time when it was installed or last ran.

      Easiest way to test is to:
      1) Activate the plugin
      2) Update Twitter with a tweet
      3) Run it manually after your tweet has been published

      You need to make sure you have either a) your username typed or b) hash tags typed.

      Let me know how you get on!

  • Ruby says:

    Thanks so much for getting back to me. I did all those things and eventually something was posted on the blog, but not the tweet itself. Edited versions of the tweet addresses showed up. The text of the tweet isn’t there and the address isn’t a link. (FWIW, the entries also do not pick up the category I specified)

    This is what it looks like:

    —————————————————————————————————
    Tweeted: 2012-08-30 11:54:59

    https://twitter.com/BrazenlyLiberal/status/2.4114196540675E+17
    August 30th, 2012 | Category: Uncategorized | Leave a comment | Edit this post

    Tweeted: 2012-08-30 11:52:53

    https://twitter.com/BrazenlyLiberal/status/2.4114143793947E+17
    August 30th, 2012 | Category: Uncategorized | Leave a comment | Edit this post

    Tweeted: 2012-08-30 11:51:14

    https://twitter.com/BrazenlyLiberal/status/2.4114102066494E+17
    August 30th, 2012 | Category: Uncategorized | Leave a comment | Edit this post

    Tweeted: 2012-08-30 11:47:53

    https://twitter.com/BrazenlyLiberal/status/2.4114017763918E+17
    August 30th, 2012 | Category: Uncategorized | Leave a comment | Edit this post

    Tweeted: 2012-08-30 11:46:58

    https://twitter.com/BrazenlyLiberal/status/2.4113994674274E+17
    August 30th, 2012 | Category: Uncategorized | Leave a comment | Edit this post
    ——————————————————————————————————–
    Again, I’d not be bothering you at all if it wasn’t such an excellent tool. You are a victim of your own achievement, I suppose. :)

    • Hi Ruby,

      Hopefully I have fixed this in v1.1. It’s to do with big integers and I’ve had to do guess work in an attempt to fix it. If you’d like to be my guinea pig and test it out whenever you’re ready you can get the latest version from WordPress.

  • Kevin says:

    I have installed v1.1. Any idea as to why the plug-in isn’t working? Did Twitter change something?

    • Hi Kevin,

      I have a development server over here and it’s working. What’s your hardware?

      Have you followed the steps and set either a hashtag or username AND category to publish them to?

      It will only publish tweets found AFTER the activation date and/or when you pressed the ‘Run a Twitter Scan’ last (if any).

      • Kevin says:

        Hey Steven,

        Not sure about the hardware. My host is freehostingcloud.com and I can tell you the software and some of the version numbers that are running on the server.

        Yes, I followed the setup steps. It is configured with my Twitter username and a publishing category. I have posted tweets since and they are younger than limiting date and time. When I run it manually, I get the following message.

        “Successfully ran. A total of 0 Tweets were published.”

        Any suggestions?

        • Jan Klaas says:

          Same here… I’m running a WordPress blog in Xampp on a Macbook Pro. It doesn’t find any tweets although I tweeted since I activated the plugin in WP.

        • Hi Kevin,

          I’ve just released a new version. I’ve added functionality for file_get_contents if curl is disabled on your server which it may be. I’ve no way of knowing unless I go in and debug myself you see.

  • Pim says:

    Hi, have only just installed and haven’t actually tweeted anything yet, but it seems like a great plugin! One suggestion I have is the ability to choose the post format and tags. For instance, I use the “status” post format in order to style those differently than regular posts.

  • Toni Juvonen says:

    Hi,

    I’m really looking forward to see this plugin work. I haven’t achieved in it yet. Should I use either hashtag or username? Or can I use both?

  • samantha says:

    still doesnt work for me :(

  • Kristen says:

    Haven’t used it just yet but love this idea!

    Would you consider adding the ability to have the post saved as a draft and/or exclude @replies? I don’t necessarily want to have *every* tweet posted. :)

    Thanks so much!

    Best wishes,
    Kristen

  • Francesco says:

    Excuse me, but I was doing a test to check the correct operation of the comments since yesterday did not work.

    I am writing to ask you if it is possible with your plugin make sure that only the tweets of my specific account with a specific # hashtag become post on my blog.

    For example from my account: HI # TBPA

    In this way would avoid that are included tweets having the same tag but from other users. And, it is possible that the reply, retweets and mentions are not included.
    Do you think it is something possible in a future Realise? How soon will come?
    Thank you very much!

  • erik says:

    the feed never updates. it also only says last update at 1140 am its now 151 pm i have updated and scanned and add tweets forever wtf am i doing wrong

  • terry says:

    Hi Steve, in the past I have had issues where certain hosting companies change users security settings after a short while when they realise curl is being used to grab info from other servers. I think they must have automated tools that monitor this sort of stuff. So if people are having issues where things work and then all of a sudden stop working this could be a place to look also.

  • Francesco says:

    the plugin does not work anymore. Do you think that will solve the problem or I have to find a new solution?

  • Fred says:

    Plugin posts, however, it posts the same Tweet about 7 times in a row. Suggestions? Thanks.

  • Hi there

    I love this plug in but I was wondering why it’s only allowing one tweet to show up. Ideally I’d just like them to stack up underneath each other but it archives them somewhere (I have no idea where!).

    As you can tell, I’m not very good at all this stuff, but I’d love it if I could get this working.

    A

  • chris stewart says:

    Cool plugin! Thanks so much! However it stopped working, somehow my date settings in the plugin are messed up. Not getting any imports.

    Here is what I’m seeing.

    Only Tweets tweeted after 07/04/2013 @ 06:52PM +0000 will be puslihed to your blog.
    Current WordPress Date/Time: 2013-04-07 13:54:23

    Help?

    • Hello Chris.

      The dates are set by the system. Twitter pulls dates by GMT and you can then set the timezone via WordPress. It should handle it all well but it looks as if it’s not in your case. Just out of curiosity, did it publish anything at a later date?

  • Guy says:

    Steve,

    I have installed the files on my site. when i log in to the admin it shows the plug in and allows me to activate it. There is no Settings choice however. I am running on a windows server. Will this preclude me from using your plug in?

  • Guy says:

    update: i see that the settings are on another drop menu. it posts to my blog but only as an address bar item. in order to open it i have to copy and paste that in to the browser. not what i think you intended right? again I am on a windows server so maybe it just will not work for me. it is so sipmple to implement that i want it to work but would want it to embedd the post as opposed to just a copy paste of the URL address. Any thoughts?

  • Guy says:

    OK, OK..I know that I am quickly turning int o one of “them” ;) I have found more solutions to my issues. As it turns out I did not have the latest WP and now that I do it is working well. Is there any plans to allow users to add a title to the posts by a default setting?

    • Hello Guy,

      It is in the works but not for release just yet. There will be a default option to use around 30 characters or so of the tweet itself with the date or a setting with some options. Such as “{date} {tweet}” which would produce “17/04/2013 this is a section of the tweet…”

  • Jennifer says:

    Hi Steven,
    I just installed your plugin, and I’m trying to get it to work. I’ve entered a hashtag to post, I selected uncategorized as my category, and I selected status as my post format. I updated the settings and when I got a confirmation, I clicked “Run a Twitter Scan”. The plugin confirmed that 4 posts were published, but when I check posts, they are not there. I there something I should do differently?

    • Hello Jennifer. What you’re doing is right. Have they been automatically scheduled for the future?

      • Jennifer says:

        No, I haven’t considered scheduling. I simply activated following the instructions that were provided in the plugin to test it and see if it will work for my needs, and to learn how the plugin works. The hashtag I’m following is #design. I chose it since it’s pretty common and I could get frequent posts for testing, but I’m nothing is posting.

  • leumoove says:

    Hello Steven,

    Exactly the same problem as Jennifer.

    Do you have a solution ?

  • Guy says:

    Steven,

    Recently my tweets are being duplicated in the blog (i.e., posted to blog twice). Any ideas as to why?

  • Isaac says:

    Estoy probando su pugin y cuando relleno el campo nombre de usuario y hashtag al pulsar el boton de ejecutar scanner me devuelve los siguientes errores:

    Warning: Invalid argument supplied for foreach() in /homepages/30/d382449652/htdocs/blog/wp-content/plugins/twitter-blog-posts-automatically/twitter-blog-posts-automatically-functions.php on line 168

    Warning: Invalid argument supplied for foreach() in /homepages/30/d382449652/htdocs/blog/wp-content/plugins/twitter-blog-posts-automatically/twitter-blog-posts-automatically-functions.php on line 168

    Existe solucion?

    Gracias

    • Hi Isaac. This plugin is no longer working due to the new Twitter API which requires users to use credentials to retrieve public tweets. The plugin will be revised in August and will use the new API calls.

  • Craig says:

    Steven,

    Great plugin. Worked for a few tweets and now getting error message;

    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/twitter-blog-posts-automatically/twitter-blog-posts-automatically-functions.php on line 267

    Any thoughts?

    Thanks,
    Craig

    • Hi Craig. This plugin is no longer working due to the new Twitter API which requires users to use credentials to retrieve public tweets. The plugin will be revised in August and will use the new API calls.

  • Tony Coupland says:

    I suspect that since Twitter switched to requiring OAuth only API calls, this plugin stopped working :( I noticed my tweets stopped on June 11th.

    Steven, are you planning to implement OAuth into this plugin (the best Twitter to blog plugin I’d found BTW)?

    Thanks,
    Tony

  • David says:

    Warning: Invalid argument supplied for foreach() in /home2/chuck/public_html/staceyferguson.ca/main/wp-content/plugins/twitter-blog-posts-automatically/twitter-blog-posts-automatically-functions.php on line 256

  • Paul says:

    Hi Steven,
    Any updates on the new twitter API call. I get the error message:
    foreach() in /wp-content/plugins/twitter-blog-posts-automatically/twitter-blog-posts-automatically-functions.php on line 267

  • ATR says:

    Hi

    I am getting this error when i click update

    Warning: Invalid argument supplied for foreach() in /home/abdutt0/public_html/wp-content/plugins/twitter-blog-posts-automatically/twitter-blog-posts-automatically-functions.php on line 267

    any suggestions?

    thanks!

Add Comment Register



Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>