WP to Twitter

The WP-to-Twitter plugin posts a Twitter status update from your blog using the Cli.gs URL shortening service to provide a link back to your post from Twitter.

New in version 1.3.6:

  • Revised interface to take advantage of features added in versions 2.5 and 2.7. You can now drag and drop the WP to Twitter configuration panel in Post and Page authoring pages.
  • Fixed bug where post titles were not Tweeted when using the “Press This” bookmarklet

If you have a Cli.gs API key, the shortened URL will also be filed in your Cli.gs account so that you can track statistics for the shortened URL.

The plugin can send a default message for updating or editing posts or pages, but also allows you to write a custom Tweet for your post which says whatever you want. By default, the shortened URL from Cli.gs is appended to the end of your message, so you should keep that in mind when writing your custom Tweet.

Any status update you write which is longer than the available space will automatically be truncated by the plugin. This applies to both the default messages and to your custom messages.

This plugin is based loosely on the Twitter Updater plugin by Jonathan Dingman, which he adapted from a plugin by Victoria Chan. Other contributions by Thor Erik and Bill Berry.

Installation

  1. Upload the `wp-to-twitter` folder to your `/wp-content/plugins/` directory
  2. Activate the plugin using the `Plugins` menu in WordPress
  3. Go to Settings > WP->Twitter
  4. Adjust the WP->Twitter Options as you prefer them.
  5. Supply your Twitter username and login.
  6. Optional: Provide your Cli.gs API key ([available free from Cli.gs](http://cli.gs)), if you want to have statistics available for your URL.
  7. That’s it! You’re all set.

Frequently Asked Questions

Do I have to have a Twitter.com account to use this plugin?
Yes, you need an account to use this plugin.
Do I have to have a Cli.gs account to use this plugin?
No, the Cli.gs account is entirely optional. Without a Cli.gs API, a “public” Clig will be generated. The redirect will work just fine, but you won’t be able to access statistics on your Clig.
Twitter goes down a lot. What happens if it’s not available?
If Twitter isn’t available, you’ll get a message telling you that there’s been an error with your Twitter status update. The Tweet you were going to send will be saved in your post meta fields, so you can grab it and post it manually if you wish.
What if Cli.gs isn’t available when I make my post?
If Cli.gs isn’t available, your tweet will be sent using it’s normal post permalink. You’ll also get an error message letting you know that there was a problem contacting Cli.gs.
I can’t see the settings page!
There’s an unresolved bug which effects some servers which causes the WP-to-Twitter settings page to fail. You can get around this problem by commenting out lines 145 - 190 in wp-to-twitter/wp-to-twitter-manager.php. (Version 1.3.2.)

Return to Top

305 Comments

  1. I’ve made a slight modification to this script, as some hosts have blocked URL fopen(which file_get_contents rely on)

    so a quick working fix with curl is:
    open wp-to-twitter.php
    alter line 78 to:


    $shrink = @file_get_contents( "http://cli.gs/api/v1/cligs/create?url=".$thispostlink."&title=".$thisposttitle."&key=".$cligsapi."&appid=WP-to-Twitter" );
    if(!isset($shrink))
    {
    $shrink = getfilefromurl( "http://cli.gs/api/v1/cligs/create?url=".$thispostlink."&title=".$thisposttitle."&key=".$cligsapi."&appid=WP-to-Twitter" );
    }

    and add this somewhere to the file(preferably last in the file)


    function getfilefromurl($URL)
    {
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_VERBOSE, 0);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_URL, $URL);
    $output = curl_exec($ch);
    curl_close($ch);
    return $output;
    }

    Comment by Thor Erik (2 comments.) — October 29, 2008 @ 11:57 am

  2. forgot to add that it now then checks wether the get_file_contents was successful, and then if it wasn’t get it with curl

    Comment by Thor Erik (2 comments.) — October 29, 2008 @ 11:59 am

  3. Thanks, Thor! Pierre sent your comments over to me; and I’ll definitely get this added in with the next release.

    Probably tomorrow; but I’m going to see what other comments and requests show up first.

    Comment by Joe Dolson (595 comments.) — October 29, 2008 @ 12:26 pm

  4. hi. Thanks for plugin

    perfect. Regards

    Comment by baron — November 3, 2008 @ 11:05 am

  5. Just installed it. Hope it’ll work ;)
    [But it seems to work fine for a friend of mine]

    Comment by JakobD (1 comments.) — November 4, 2008 @ 2:15 pm

  6. Hey, I hope it’ll work, too! You never really know until a script is let loose into the wild…there are only so many tests you can do. Definitely let me know if you do encounter problems!

    Comment by Joe Dolson (595 comments.) — November 4, 2008 @ 2:21 pm

  7. Somehow it does not work for me at all. Either it does not recognize new posts or it does recognize, but not post them at Twitter - eventhough everything is set up correctly.

    Could this be because of FeedBurner?

    Comment by Georg (2 comments.) — November 9, 2008 @ 9:12 pm

  8. Interesting. Feedburner shouldn’t have any impact - I’ve tested it on several blogs using Feedburner, so that would be surprising.

    Can you tell me what version of WP you’re using?

    Comment by Joe Dolson (595 comments.) — November 9, 2008 @ 9:23 pm

  9. IM using 2.6.3.

    Comment by Georg (2 comments.) — November 9, 2008 @ 9:26 pm

  10. Hmm. Well, that doesn’t answer any questions, then. Are you getting any error messages (at all) from the plugin? It should be checking to make sure your server supports key functions, but it’s not foolproof!

    It could be a conflict with another plugin, as well - if you could email me your plugin list, that might help me figure out what the problem could be.

    Also, let me know whether the plugin is successfully saving your tweet or cligs data into the post meta fields.

    Comment by Joe Dolson (595 comments.) — November 9, 2008 @ 9:31 pm

  11. I use WP2.6.2 and test WP to Twitter in case when i write post and input word to field “Twitter Post” this plug ins it work

    but i use Windows Live Writer to post data this plugins WP to Twitter can’t post automatic to Twitter

    but i use plugins Subscribe this post automatic to mail if posible “WP to Twitter” will be post automatic to Twitter same Subscribe when i use WLW

    Comment by PookLuk (1 comments.) — November 10, 2008 @ 7:51 pm

  12. Great plugin. It works wonderfully for me. I was wondering if future versions would allow us to decide which post categories to include?

    Comment by Valorie — November 11, 2008 @ 5:35 pm

  13. That’s a great suggestion, Valorie - I’ll definitely put that in my list of things to add in the next major revision. Thanks!

    Comment by Joe Dolson (595 comments.) — November 11, 2008 @ 5:41 pm

  14. Hi,

    Before I try your plugin I am curious whether it handles scheduled posts? R

    Comment by Robert@PNG (11 comments.) — November 29, 2008 @ 6:03 pm

  15. Hi, Robert -

    No, I’m afraid it doesn’t at the moment. That’s not a scenario I’d thought of dealing with! At the moment, it immediately Tweets the scheduled post.

    In the next release, I’ll be sure to fix that — I’d consider that a serious bug!

    Thanks, Joe

    Comment by Joe Dolson (595 comments.) — November 29, 2008 @ 7:27 pm

  16. Hi Joe,

    Thanks for responding…

    What sort of time frame are we looking at for the next release?

    Regards, R

    Comment by Robert@PNG (11 comments.) — November 29, 2008 @ 9:46 pm

  17. I am having a problem in which when it updates Twitter, it does it two times.

    I am using WordPress 2.6.3.

    Twitter = http://twitter.com/snatty

    Any hints on what is happening ?

    Comment by Snat (2 comments.) — November 30, 2008 @ 9:14 am

  18. @Robert - It’s hard to be really firm, but definitely before the end of December. Possibly by the end of this week.

    @Snat - Well, that’s interesting. I think that this might actually be a related problem, although I’m not certain. Do you generally save your posts before publishing them, or are you publishing them immediately? What plugins do you have enabled?

    Comment by Joe Dolson (595 comments.) — November 30, 2008 @ 10:58 am

  19. I don’t save posts but rather publish them once I am done.

    The plugins I have installed are

    All in One SEO
    Auto Tagger (Got a feeling this might be causing it)
    Gmail STMP
    SF-forum
    WP -> Twitter

    Comment by Snat (2 comments.) — November 30, 2008 @ 1:14 pm

  20. Hi Joe,

    You mentioned that the next release will allow for scheduled posts which should be available some time December. I’m curious whether the function to selectively include or exclude categories will also be included as a part of this next release?

    Regards, R

    Comment by Robert@PNG (11 comments.) — December 1, 2008 @ 4:45 am

  21. That depends. I was looking at the scheduled posts issue as a bug fix, which generally has higher priority than new functionality, which means I’m going to try and get that release out as quickly as possible.

    It’s highly likely that both changes will happen during December; but probably not as part of the same release.

    Comment by Joe Dolson (595 comments.) — December 1, 2008 @ 11:35 am

  22. Hi Joe,

    Thanks again for your response.
    Take your time… good code is never rushed!
    I have tested some of the other Twitter plugins and they have either not worked for me or I’m not happy with their features.
    Looking forward to testing yours.

    Regards, R

    Comment by Robert@PNG (11 comments.) — December 1, 2008 @ 3:55 pm

  23. Hi Joe, I’ve tried the plugin on two different servers (one of them Hostgator) and can’t get it to work. Both WP installations were 2.6.2.

    Any tips?

    Best,

    Lucky Balaraman

    Comment by Lucky Balaraman (6 comments.) — December 4, 2008 @ 12:12 pm

  24. Can you tell me anything about specific errors you’re getting? Is it failing silently, or is it providing an error message?

    The usual question, of course: what other plugins do you have enabled?

    There definitely shouldn’t be any problems with your WP version. 2.6.2 should be just fine.

    Comment by Joe Dolson (595 comments.) — December 4, 2008 @ 12:18 pm

  25. It fails silently.

    The other activated plugins are Akismet, All-in-One SEO Pack, Chicklet Creator, Google XML Sitemaps, Share This, Sociable, Wordpress Automatic Upgrade and Wordpress Database Backup.

    I earlier tried Twitter Tools and that failed silently too. My suspicion is that both hosts are preventing WP from accessing online services such as Twitter….

    Best,

    Lucky ///////////

    Comment by Lucky Balaraman (6 comments.) — December 4, 2008 @ 1:07 pm

  26. Hi Joe,

    Now I’ve upgraded to 2.6.5 and deactivated all other plugins but Akismet.

    Still no luck…

    Lucky //////////////

    Comment by Lucky Balaraman (6 comments.) — December 4, 2008 @ 1:14 pm

  27. Hmmm…the fact that Twitter Tools failed silent too does point to a host issue. With no other plugins running but Akismet, the only issues would be almost certainly with host setup.

    However, it still shouldn’t be failing totally silently — so that’s a bit peculiar. The plugin is _supposed_ to be checking for appropriate support, and notifying you if it’s not there.

    Have you tried disabling and re-enabling the plugin? If this is an upgrade installation, that might be preventing the support checks from running. (I say this from memory; I don’t recall whether they’re actually set up this way.)

    Comment by Joe Dolson (595 comments.) — December 4, 2008 @ 1:52 pm

  28. OK, I’ve sorted it out. I was taking for granted something that I do… remote posting.

    I usually post from Live Writer or Scribefire. When I posted straight from WP, the plugin worked like a charm!

    Thanks for engaging with me over the problem. I will have good words to say about you and the plugin in an upcoming post on my tech geek blog (will comment here when I do, or post a trackback if you have that enabled).

    Best,

    Lucky Balaraman

    Comment by Lucky Balaraman (6 comments.) — December 4, 2008 @ 8:29 pm

  29. Ironically, I almost asked you whether that was the case, since that’s something I was already aware of. I should add that to the documentation!

    Thanks, Lucky!

    Comment by Joe Dolson (595 comments.) — December 4, 2008 @ 9:07 pm

  30. Hey peeps,

    Great plugin! Although I’m finding everytime I make a post it is adding two entries to twitter. Any ideas why this is happening?

    Many thanks!

    Comment by Y2Neil (3 comments.) — December 5, 2008 @ 2:10 pm

  31. Sorry - also to mention, is there any way of handling quote marks? At the moment they’re being slashed out. Eg. if my title is “This Rock’s”, it’ll come up at “This Rock's?”

    Many thanks,

    Comment by Y2Neil (3 comments.) — December 5, 2008 @ 2:16 pm

  32. I’ve fixed the slash issue already; although that update hasn’t been released yet. I’m hoping to resolve the duplicate post issue before I release the next version…but if that doesn’t happen before the end of the day, I’ll just go ahead and release the bugfix update anyhow.

    The duplicate posting issue is very obscure - can you tell me what plugins you have installed, and also let me know what your settings for the WP to Twitter plugin are? Thanks!

    Comment by Joe Dolson (595 comments.) — December 5, 2008 @ 2:30 pm

  33. Thanks for the speedy reply!

    We have a LOT of other plugins going on, they are:
    Add to Any: Share/Save/Bookmark Button .9.8.6.5
    All in One SEO Pack 1.4.6.15
    Clean Archives Reloaded 3.1.4
    Exec-PHP 4.8
    FeedBurner FeedSmith 2.3.1
    Google Analyticator 2.14
    NextGEN Gallery 0.99.1
    NextGEN Gallery Widget 1.22
    Post Template 3.2.0
    User Photo 0.9.4
    WP-SpamFree
    WP to Twitter

    Settings are:
    Update Twitter when new Wordpress Pages are published - UNCHECKED
    Update Twitter when the new post is published - CHECKED
    Text for this Twitter update - NEW STORY: #title#
    Provide link to blog? - CHECK

    Update Twitter when an old post has been edited

    Text for this Twitter update - MORE ON: #title#
    Provide link to blog? - CHECK

    (the rest is all set to know. I have a Cl.ig and obviously my username/password)

    Hope that helps. Many thanks!!

    Comment by Y2Neil (3 comments.) — December 5, 2008 @ 2:56 pm

  34. Status update: Although the stripslashes problem above is solved, I have unfortunately introduced a new bug during the process of solving the scheduled posts issue. This is delaying the new release a bit!

    Comment by Joe Dolson (595 comments.) — December 6, 2008 @ 10:46 am

  35. New version just committed; should resolve both the stripslashes and the duplicate posting issue, but does NOT resolve scheduled posting.

    Or, rather, the coding for scheduled posting is in there, but it’s not working, and I haven’t figured out why yet. I’m sure it’s something obvious…

    Comment by Joe Dolson (595 comments.) — December 6, 2008 @ 1:03 pm

  36. It doesn’t seem to be working at all since I upgraded to WordPress 2.7

    Comment by John Munro (4 comments.) — December 11, 2008 @ 11:32 am

  37. Thanks, John - the new version will be out shortly. It’s odd - it was working with 2.7 beta 3, but something must have changed!

    Comment by Joe Dolson (595 comments.) — December 11, 2008 @ 11:34 am

  38. Where’s the “miracles happen” button you have to push in order to get the plugin downloaded?

    Comment by Download Dufus — December 12, 2008 @ 12:35 pm

  39. If you click on the “Download WP-to-Twitter” link, at the top right of the post, that will take you to the Wordpress.org plugins directory page for the plugin. On the page, you should see a big orange button in the top right corner which says “Download.” That should do it!

    Comment by Joe Dolson (595 comments.) — December 12, 2008 @ 12:52 pm

  40. Hey,
    I think IM facing a little problem,
    It wont update my Twitter when i write a new post,
    BUT it will write on my Twitter when i Edit a post.

    Comment by Tony (8 comments.) — December 14, 2008 @ 11:38 am

  41. Hi, Tony - can you tell me what version of the plugin you’re using and what version of WordPress you’re using?

    Best, Joe

    Comment by Joe Dolson (595 comments.) — December 14, 2008 @ 12:57 pm

  42. Hello Joe,

    Thanks for the reply,

    WordPress 2.7 and WP to Twitter 1.2.4
    is what I am using.
    I hope theres nothing outdated

    Thanks, Tony

    Comment by Tony (8 comments.) — December 15, 2008 @ 4:27 pm

  43. Hmmm. That should be fine. Have you tried disabling and re-enabling the plugin? Sometimes that helps, by resetting the options.

    Are you posting remotely or directly with the blog? Remote posting isn’t enabled yet, and scheduled posting is also not working (although it’s coming soon!)

    If that doesn’t help, can you tell me what other plugins you have installed?

    Comment by Joe Dolson (595 comments.) — December 15, 2008 @ 6:40 pm

  44. Hello,

    I am posting ‘directly’ on the blog.
    Re-activating the plugin didn’t helped.
    Heres my plugin list, maybe it helps something.

    Add to Any: Share/Save/Bookmark Button
    Adman
    Advanced Permalinks
    Autolink URI
    Complete Site Stats
    Executable PHP widget
    Google XML Sitemaps
    izioSeo
    Optimize DB
    Page Link Manager
    SABRE
    Show Top Commentators
    StatPress
    Tiny XHTML
    WordPress Hashcash
    WP Super Cache
    WP to Twitter

    Wow, thats a long list :P

    Well i hope you find another solution Thanks

    Comment by Tony (8 comments.) — December 15, 2008 @ 7:43 pm

  45. I’ll be working on this this afternoon, so hopefully I’ll have some news for you then, Tony.

    Best, Joe

    Comment by Joe Dolson (595 comments.) — December 17, 2008 @ 11:36 am

  46. Hey,
    Thanks, I hope you can find a solution,
    BTW. am I the only one having this problem ?

    Comment by Tony (8 comments.) — December 17, 2008 @ 5:52 pm

  47. You’re the only one I’ve heard from so far - that was a problem with version 1.2.3 and WP 2.7, but should have been corrected by the upgrade. (And has been, or I would expect I’d have heard more!)

    Here’s a thought - could you try disabling the plugin, deleting it, and reinstalling? It’s possibly a bit extreme — and you’ll have to redo your settings — but I haven’t yet been able to reproduce the failure, so I’m not having a lot of luck finding the issue!

    Comment by Joe Dolson (595 comments.) — December 17, 2008 @ 5:56 pm

  48. I just can’t find a good reason - it’s not one of your plugins, since I’ve installed all of them and nothing stopped WP-to-Twitter from running.

    Are you publishing using the full post publishing screen, or using Quickpress? Quickpress doesn’t trigger WP-to-Twitter, so that wouldn’t work.

    Comment by Joe Dolson (595 comments.) — December 18, 2008 @ 3:17 pm

  49. Hey again,
    IM posting directly, without Quickpress or w.e., well if IM the only one having the problem, them i should just install a fresh wordpress and everything..
    Thanks for the replys, i will delete and reinstall the plugin later..

    Comment by Tony (8 comments.) — December 19, 2008 @ 8:23 am

  50. WP to Twitter doesn’t seem to send out tweets when I post via xmlrpc…

    Comment by Bill (5 comments.) — December 19, 2008 @ 1:33 pm

  51. @Bill -

    An XMLRPC publishing option will be added in the next release, which will hopefully be finished later today!

    Comment by Joe Dolson (595 comments.) — December 20, 2008 @ 1:55 pm

  52. Hey,

    WP->Twitter didn’t post for me too. Everything was setup perfectly and the post was scheduled for auto-posting. Post was up at the precise moment, but no tweet and no error messages either.
    Using WP 2.7.
    Was it due to the autopost by WP?

    Thanks and regards, Vineesh

    Comment by Vineesh (4 comments.) — December 21, 2008 @ 1:18 pm

  53. Yes, scheduled posting isn’t working. I don’t know why yet; I’m working on it.

    Best, Joe

    Comment by Joe Dolson (595 comments.) — December 21, 2008 @ 1:28 pm

  54. Thanks for the reply Joe. :)

    Will be awaiting the update.

    Thanks again.

    Regards, Vineesh

    Comment by Vineesh (4 comments.) — December 21, 2008 @ 1:46 pm

  55. I’m yet to see this plugin do anything … all my posts are published in advance and then show when its time — but not one of these has posted to Twitter.

    Comment by Sikosis (1 comments.) — December 22, 2008 @ 7:35 pm

  56. @Joe: Thanks for the XMLRPC goodness!

    I patched wp-to-twitter.php and got an error message related to cli.gs. I fixed the patch so it’s working, but when I try to clear the error messages using the button on the settings page, nothing happens (in either Safari or Firefox).

    The reason for the patch? Posts containing a “links_to” custom field and URL replace the internal permalink with the external URL. I needed to make sure the Twitter post gets the external link when it’s available. Minor patch, not sure how much that would be needed but I can provide my changes if that would be helpful. Thanks!

    Comment by Bill (5 comments.) — December 24, 2008 @ 1:43 pm

  57. Oops! Meant to include a link to an image of the error messages I can’t clear.

    Comment by Bill (5 comments.) — December 24, 2008 @ 1:51 pm

  58. Thanks for the report, Bill! You’re not the first to report a message you can’t clear; I just haven’t had time (with the holidays) to check it out and fix it. It’ll be done soon, though!

    And yes, I would definitely appreciate your code patch - that’s not an issue I’ve encountered!

    Thanks, Joe

    Comment by Joe Dolson (595 comments.) — December 24, 2008 @ 2:52 pm

  59. @sikosis No, you wouldn’t have. That’s a known problem, and I’m working on it.

    Comment by Joe Dolson (595 comments.) — December 24, 2008 @ 2:53 pm

  60. Is there any way to have this plug-in selectively update twitter instead of all the time? I’m afraid that I may start to annoy my followers if all my tweets are just links to my blog. I’d like only to send special blog posts to my twitter account.

    Comment by Antonio — December 29, 2008 @ 6:41 pm

  61. Yes. Actually, there are two ways of doing it — on every post, there’s an option in the WP to Twitter custom update panel which allows you to disable the tweet of that post.

    If it’s annoying to have to turn that off frequently, you can also go into the WordPress settings page for WP to Twitter and opt to disable tweeting on posts by default. In this case, you’d use the WP to Twitter custom update panel to enable Tweeting that post.

    Hope that’s clear!

    Comment by Joe Dolson (595 comments.) — December 29, 2008 @ 6:46 pm

  62. Crystal clear. I guess I was hoping that there could be some “trigger” in the post that could turn this feature on and off. Since I’m not a coder or anything, I just don’t know how feasible this is. I like to post updates of my blog via my iPhone and wanted to selectively update Twitter that way, say with a *Wptwit* tag or something that would trigger a Twitter update.

    Thanks for the quick reply.

    Comment by Antonio — December 29, 2008 @ 6:51 pm

  63. That’s an interesting thought - no, it doesn’t currently exist, but I’ll certainly make note of the idea for future development!

    I’m pretty confident that’s possible, though.

    Comment by Joe Dolson (595 comments.) — December 29, 2008 @ 6:55 pm

  64. Cool. I’ll keep an eye out for your updates. Thanks muchly!

    Comment by Antonio — December 29, 2008 @ 6:59 pm

  65. Just came across following issue. I accidentally posted an article which got tweeted properly. I set the status back to draft while I worked on corrections. I hit publish again, and WP to Twitter sent out another tweet, complete with a new cli.gs URL. I’m thinking it should check to see if there’s already a cli.gs URL before doing that (or maybe cli.gs shouldn’t automatically create a new link for the same URL??). Recognize this may be a pretty rare case…

    Comment by Bill (5 comments.) — December 31, 2008 @ 1:41 am

  66. That’s an interesting little exception — in most circumstances, it does check to see whether there’s already a cli.gs URL, but this may be an exception which gets around that in some way. I’ll have to check that out!

    Cli.gs, however, is set up expressly to allow multiple cli.gs for a single URL — that’s part of the power of unique source tracking and geotargeting which Cligs allows. So I don’t see Cligs not allowing additional cligs for a given URL anytime soon!

    Comment by Joe Dolson (595 comments.) — December 31, 2008 @ 10:53 am

  67. one. more. thing. while tweets now go out when posting via xmlrpc, they don’t go out if i schedule the post to be released at a later date or time. not sure why that is.

    Comment by Bill (5 comments.) — December 31, 2008 @ 2:45 pm

  68. Yes, that’s a known issue (should be mentioned in the readme.txt). Unfortunately, I have no idea why it isn’t working; I have been unable to find a bug in the code which would be stopping. It’s been driving me nuts for a month now…

    Comment by Joe Dolson (595 comments.) — December 31, 2008 @ 6:15 pm

  69. Hi Joe,

    A quick note to thank you for a great plugin. About a month ago I left a comment requesting a scheduling feature and also the ability to choose which categories would trigger twitter posts.

    The ability of your plugin to decide per post whether it will go to twitter or not handles my categories request really nice. As far as not being able to tweet scheduled posts - I have come to the conclusion that this is something I can live without. Although I schedule the odd post - most are posted on the spot.

    The other feature you have included that I find of value is the ability to over-ride per post what actually gets tweeted - the default message as per settings or a custom tweet which I can enter at time of writing post.

    Also, in addition to WP 2.7 and the latest build of the K2 theme (743) - I run over 60 plugins - interestingly and after I fair amount of testing - I find your plugin stable, reliable and simple to use.

    I believe that what I share above sand your responsiveness to issues as they arise strongly suggest that your code and work is of an excellent standard.

    Hope to see other plugins emerge from your “stable”.

    Thanks bro… R

    Comment by Robert@PNG (11 comments.) — January 1, 2009 @ 4:42 am

  70. Robert - Thanks very much for your kind words! Future scheduling is something which WILL be coming - at this point, it’s a personal vendetta. :) But I appreciate your mentioning that it’s not a crucial issue for you, nonetheless.

    Best, Joe

    Comment by Joe Dolson (595 comments.) — January 1, 2009 @ 2:13 pm

  71. I have similar problem like the guy few posts before.. It doesn`t send twitter update when I post a new article. But it sends “edited article”..
    Plugins
    @ reply
    Google XML sitemaps
    Headspace2
    jQuery Lightbox
    SEO Friendly Images
    Sociable
    Xavin’s Review Ratings

    Maybe it`s due to XML sitemaps? We have them both..

    Comment by wiru — January 1, 2009 @ 6:05 pm

  72. Just discovered that updating a post via XMLRPC generates a new tweet, even if tweet-on-update is turned off. I saved a post three times while editing and generated three tweets I wasn’t expecting…

    Comment by Bill — January 2, 2009 @ 8:29 pm

  73. Thanks for mentioning that! I obviously failed to anticipate that - I’ll get that fixed as soon as possible.

    Comment by Joe Dolson (595 comments.) — January 3, 2009 @ 10:19 am

  74. I don’t know why it doesn’t post any update to my twitter after i posted.

    Comment by DominixZ (1 comments.) — January 9, 2009 @ 11:05 am

  75. Well, I can’t say I know either - can you tell me what version of the plugin and of WordPress you’re using? It sometimes helps to disable and re-enable the plugin then go re-set your plugin options, so you may want to give that a try.

    Note: if you’re using WordPress’s ‘quickpost’ feature or the scheduled posting, the plugin won’t work. These features are not yet supported.

    Comment by Joe Dolson (595 comments.) — January 9, 2009 @ 12:25 pm

  76. Hello - thanks for this great plugin.
    My WP posts are being posted on twitter however I get the following error everytime I publish a new post:-

    “The query to the Cli.gs API failed, and your URL was not shrunk. The normal post URL was attached to your Tweet.

    Cli.gs request failed! We couldn’t shrink that URL, so we attached the normal URL to your Tweet.”

    What does that mean? Thanks

    Comment by esieens (3 comments.) — January 10, 2009 @ 8:37 am

  77. It means that, for whatever reason, the plugin was unable to contact the Cli.gs server to shorten the URL for your tweet. Most likely, the server didn’t respond when the plugin asked it for a response.

    I know that Cli.gs has had some performance issues recently, and Pierre was going to be doing a performance upgrade this weekend; so this problem might go away soon.

    If not, let me know! There might be a problem I can do something about. I’ll certainly try!

    Comment by Joe Dolson (595 comments.) — January 10, 2009 @ 10:15 am

  78. ok thanks - this is the 2nd time it happens in 3 days though… I’ll let you know if it happens again.

    Comment by esieens (3 comments.) — January 10, 2009 @ 10:55 am

  79. Yes, I understand - I know that he did just make the change, however, so it’s a possibility.

    It’s also a possibility that your host is blocking the API request; which is a separate issue.

    Comment by Joe Dolson (595 comments.) — January 10, 2009 @ 2:17 pm

  80. Hi Joe - sorry just got the same error again.
    How can I find out if my host is blocking the API request?
    Many thanks for your help.

    Comment by esieens (3 comments.) — January 11, 2009 @ 10:07 am

  81. I am having an issue with posts automatically Tweeting.

    I have it set to automatic Tweet with every post, so when I don’t want one to Tweet I go down and put a check mark in the ‘Don’t Tweet this post’ option. However, even when I check this box to not Tweet the blog post, it still Tweets. My marking a post as ‘Don’t Tweet this post’ doesn’t do anything.

    Comment by Valorie (3 comments.) — January 13, 2009 @ 5:16 am

  82. Can you tell me the versions of WordPress and of WP to Twitter you’re using? Also, let me know the details of how you’re writing and publishing your posts: XMLRPC, Post by Email, Quickpress, publishing from new, publishing from draft, etc.

    That’ll help me know what’s going wrong and when!

    Comment by Joe Dolson (595 comments.) — January 13, 2009 @ 10:50 am

  83. Wordpress 2.7
    publish from new
    I actually published a new post on Sunday and this time I did not get the error but the post was not published on twitter either! The plugin is still activated and settings are correct so I’m not sure what might have changed.

    Comment by esieens — January 13, 2009 @ 11:24 am

  84. Really…that’s even stranger! Perhaps there’s a conflict with some other plugin; that might explain the rather unpredictable nature of your problems. Can you provide me with your list of active plugins?

    As to finding out whether your host blocks the API, the easiest way is probably to ask - simply ask whether the function file_get_contents, fputs or the cURL package are available on the server to query external URLs.

    Best, Joe

    Comment by Joe Dolson (595 comments.) — January 13, 2009 @ 12:58 pm

  85. Here is the list of my plugins:-
    Akismet 2.2.3
    All in One SEO Pack 1.4.6.16
    Basic Bilingual 0.21
    Counterize 0.53
    Democracy 2.0.1
    Flash Video Player 2.1
    Google XML Sitemaps 3.1.2
    StatTraq 1.9.2
    Subscribe2 4.12
    Subscribe To Comments 2.1.2
    TinyMCE Advanced 3.2
    ViewCount 0.0.3
    Wordbook 0.14.2
    WP-Mail-SMTP 0.7
    WPG2 3.0.7
    WP to Twitter 1.2.6
    Yahoo/MSN Style Smileys 4.3
    Youtuber 1.4

    I have only installed two plugins before publishing my last post:-
    Youtuber
    Theme Switch - that I since then de-activated

    I host my own server. How can I know if these functions are enabled?

    Many thanks for your help!

    Comment by esieens — January 13, 2009 @ 1:23 pm

  86. I was using Wordpress 2.7 and WP to Twitter version 1.2.6. It was working fine up until about a week or so ago, maybe the last upgrade to the newest version. When I post, I post by publish by new through the actual New Post panel.

    Comment by Valorie (3 comments.) — January 13, 2009 @ 7:16 pm

  87. Thanks for that information, Valorie and esieens — I’ve been swamped this week with an upcoming project launch, but I’ll get back to this as soon as I can!

    Comment by Joe Dolson (595 comments.) — January 15, 2009 @ 12:56 am

  88. I just posted and although it created a clig it didn’t post to twitter. There was no error.

    Comment by John Munro (4 comments.) — January 16, 2009 @ 3:35 pm

  89. Then I wish I knew why it was posting mine. :P I guess I’ll have to figure something out! Thanks.

    Comment by Valorie (3 comments.) — January 17, 2009 @ 9:32 am

  90. Hey, how about adding the option to automatically append a google analytics campaign id like this guy did: http://yoast.com/twitter-analytics/

    It would be much more useful to me if that functionality was included in your plugin rather than a stand-alone PHP file and bookmarklet

    Comment by John Munro (4 comments.) — January 19, 2009 @ 9:23 am

  91. That seems like a great idea — I’ll get on it!

    Thanks, Joe

    Comment by Joe Dolson (595 comments.) — January 19, 2009 @ 10:32 am

  92. Hmm, just installed WP to Twitter 1.2.6 using WP 2.7. I chose NO to default posting to Twitter and then chose on the post to tweet it. I didn’t put anything into the text field at the bottom of the post. When I posted, my Twitter feed was updated with the following.

    “Published a new post: #title#”

    Not sure of what I could’ve done wrong. This plugin provides exactly the functionality I am looking for so hopefully I can figure it out! Thanks.

    Comment by Joe (3 comments.) — January 20, 2009 @ 10:40 am

  93. Thanks for the detailed notes, Joe - that’s a new one! I’m working on getting a new version out this week, so I’ll put that on my list of things to look in to.

    Comment by Joe Dolson (595 comments.) — January 20, 2009 @ 11:08 am

  94. Thanks for all the hard work up to this point! If I put something into the text box at the bottom of a post, does it overwrite the normal formatting set in Settings?

    Comment by Joe (3 comments.) — January 20, 2009 @ 11:24 am

  95. First - yes, using the custom tweet box will over ride the normal formatting to tweet the post.

    Second - I haven’t been able to reproduce the problem which happened to you. It seemed to work just fine for me…and that’s one of those really straightforward string replacements which should be supported in pretty much any PHP environment…so it’s quite strange that it would fail.

    The main thing which comes to mind is whether or not the # symbols might have been encoded…which could change things. I have no idea how that would have happened, but who knows!

    Just type “#title#” into the box over the existing “#title#.”, re-save your settings, and see what happens.

    (If this fixes the problem, I’ll be surprised, mind you.)

    Comment by Joe Dolson (595 comments.) — January 20, 2009 @ 3:45 pm

  96. Well I just tried it again and it worked! I changed two things.

    1. I did delete #title# and put it back in.
    2. I checked ‘Put link to blog’ -> previously I had this unchecked because I thought it meant something different than what it did.

    With these changes, I tried a test post and it worked exactly like it should. Not really sure what happened, but it seems to be working, so I’ll treat it nicely and hope for good results!

    Thanks for looking into it.

    Comment by Joe (3 comments.) — January 20, 2009 @ 4:17 pm

  97. Interesting…I’m glad it’s working for you! I’ll probably inspect the code surrounding whether or not people want links back to their blog — - it seems a little unlikely that it’s the problem, but NOT having that checked is such a rare circumstance (I suspect) that it’s almost certainly an under-tested aspect of the plugin.

    Comment by Joe Dolson (595 comments.) — January 20, 2009 @ 5:50 pm

  98. Hi,

    I just upgraded to the latest version of the plugin a short while ago (1.2.7). Up until I performed the upgrade the plugin was working perfectly. Since the upgrade I am not able to post to twitter and get the following error messages:

    “There’s been an error posting your Twitter status! Visit your WP to Twitter settings page to get more information and to clear this error message.”

    and…

    “One or more of your last posts has failed to send it’s status update to Twitter. Your Tweet has been saved in the custom meta data for your post, and you can re-Tweet it at your leisure.”

    Strange that this error only started since the upgrade. Unless the Twitter services are genuinely down.

    Any other feedback from others since moving to 1.2.7??

    R

    Sorry! I couldn’t get in touch with the Twitter servers. Your tweet has been stored in a custom field attached to your post, so you can Tweet it manually if you wish!

    If you see these errors frequently, please notify the developer.

    Comment by Robert@PNG (11 comments.) — January 20, 2009 @ 11:25 pm

  99. Hi J,

    I just noticed that the above error happens also happens when publishing a post and WP Twitter is disabled (box ticked) in the write post screen.

    Interestingly a did a scheduled post before and no WP Twitter error message.

    Might have to role back to 1.2.6 if I don’t find a fix soon.

    R

    NB: I deactivated and activated the plugin to see if it would make any difference… none.

    Comment by Robert@PNG (11 comments.) — January 21, 2009 @ 7:10 am

  100. Hi, Robert. Well, damn. No, I haven’t heard any complaints from anybody else on this (yet). It is possible that Twitter is down, of course - that was the original purpose of having that message - but, unfortunately, it’s not an easy thing to verify…

    I’ll see whether I can track that down. Sigh. That’s the problem this update was supposed to fix!

    Comment by Joe Dolson (595 comments.) — January 21, 2009 @ 10:31 am

  101. Yeah I get the error when posting as well - it creates the clig but can’t post to twitter

    Comment by John Munro (4 comments.) — January 21, 2009 @ 2:59 pm

  102. Thanks for letting me know, John. I’m not going to call that good news, but it’s helpful! :(

    Comment by Joe Dolson (595 comments.) — January 21, 2009 @ 4:17 pm

  103. Hi, great plugin! I’ve noticed, however, that after updating to the new version none of my Tweets go through. I’m getting a constant stream of ‘There’s been an error posting your Twitter status’. My login and info is all correct, it just suddenly won’t update. Is this happening to anyone else?

    Comment by Sean — January 22, 2009 @ 1:00 pm

  104. Nevermind, I see you’ve already addressed it! Thanks!

    Comment by Sean — January 22, 2009 @ 1:09 pm

  105. Always fun finding a mistake right after making an update…thanks, Sean!

    Comment by Joe Dolson (595 comments.) — January 22, 2009 @ 4:59 pm

  106. I’m also getting an error every time it tries to tweet my posts. I’ve got the latest version and Twitter isn’t down. Any ideas?

    Comment by Ben (1 comments.) — January 22, 2009 @ 6:16 pm

  107. Awesome plugin!

    Note that recent versions do not include the /images/ folder, thus creating 404 errors for the image files:
    /plugins/wp-to-twitter/images/cligs.png /plugins/wp-to-twitter/images/twitter.png

    Comment by RadPoe — January 23, 2009 @ 5:33 am

  108. I’m glad you raised the 404 issue…

    Thought I was seeing things. R

    Comment by Robert@PNG (11 comments.) — January 23, 2009 @ 6:33 am

  109. Thanks for noticing that, RadPoe! I wonder how that happened…I’ll get those added back into the package ASAP.

    Comment by Joe Dolson (595 comments.) — January 23, 2009 @ 9:56 am

  110. usefull plugin, i use it !!

    i will review it in my blog :)

    thankz Joe, have a nice day n Good Luck !!

    Comment by raiderhost (1 comments.) — January 24, 2009 @ 8:41 pm

  111. First of all too bad for me because I am not a tweeting bird using Twitter, secondly don’t you think tweeting your followers about your blog post would all the time would be considered spam in literal meanings?

    Comment by Abdulrehman (6 comments.) — January 25, 2009 @ 10:54 am

  112. What is considered “spam” is always in the purview of the recipient — and if a Twitter follower was to decide that you were spamming them by sending all your blog posts to Twitter, then they are absolutely free to stop following you.

    However, in the context of Twitter, I suspect this is pretty much a non-issue for any blog publishing less frequently than five times per day — in the flood of Twitter information, the impact of a few blog posts is remarkably dispersed.

    Besides — users of the plugin are by no means obligated to Tweet every post!

    Comment by Joe Dolson (595 comments.) — January 25, 2009 @ 3:05 pm

  113. Great plugin, only complaint is that my custom tweets never post. Other than that perfect.

    Comment by Cody Brom (2 comments.) — January 30, 2009 @ 3:54 pm

  114. Do you mean that the custom text doesn’t post, or that when you use a custom tweet, nothing is posted?

    Comment by Joe Dolson (595 comments.) — January 30, 2009 @ 5:13 pm

  115. nothing is posted to the twitter account, and a clig is not generated.

    i updated to php5 today, would that help?

    Comment by Cody Brom (2 comments.) — January 31, 2009 @ 3:20 am

  116. That shouldn’t make a difference, but let me know if it does. The difference between the process with a normal tweet and with a custom tweet is really pretty straightforward, so I’d be surprised if I inadvertently used a php5-only feature…

    Comment by Joe Dolson (595 comments.) — January 31, 2009 @ 10:51 am

  117. it don’t work, no tweet
    only when i update the post it works, but without a link

    make useful error messages!!!

    Comment by Carmen — February 1, 2009 @ 7:43 pm

  118. Doesn’t work!

    Comment by Griffin — February 2, 2009 @ 3:46 pm

  119. hi there joe.. i hope your doin good..

    i got a little issue with the plugin it was working then installed a new version of wordpress and now it always gives me red lines

    ////////////////////////////////////

    There’s been an error posting your Twitter status! Visit your WP to Twitter settings page to get more information and to clear this error message.
    ///////////////////////////////////////

    i m puttin in the right name and password .. still not working..

    i have PHP mysql and curl support.. when i chek it says my installation is good to go.

    but when i post a article with the twitter it gives me that red line code.

    please help me. Regards cezo

    Comment by cezo (1 comments.) — February 4, 2009 @ 7:38 pm

  120. Thanks, Cezo! 3 things:

    1) Can you tell me what version of Wordpress and what version of the plugin you’re using?
    2) What is the error message on the settings page which shows after you have that error?
    3) Is the post showing up in your Twitter/Cli.gs accounts?

    Best, Joe

    Comment by Joe Dolson (595 comments.) — February 4, 2009 @ 8:57 pm

  121. Hello again.. last night i try to change the wp to twitter.php by editing it the way you told us to.

    here is a link to my file wptotwitter.php

    can you chek if i made it correct because IM getting only white page. cant log in . unless i delete the plugin folder..

    hope you can help me out..
    cheers cezo

    Comment by cengiz gören (1 comments.) — February 5, 2009 @ 11:00 am

  122. Hi Joe,

    You mentioned you were busy with a launch. Would you like to mention what you launched so that I (and perhaps some other commenters) can check it out and maybe buy?

    Comment by Lucky Balaraman (6 comments.) — February 8, 2009 @ 9:05 am

  123. I can mention it; but it’s a free resource provided by a community non-profit, so you might find it a challenge to buy anything! The project was the Minnesota Horsemen’s Directory, a project from the MN Horse Council.

    Comment by Joe Dolson (595 comments.) — February 8, 2009 @ 10:10 am

  124. Saw the Minnesota Horsemen’s Directory… nice!

    Any further news about auto-tweeting on XML-RPC?

    Comment by Lucky Balaraman (6 comments.) — February 9, 2009 @ 1:17 am

  125. I’m working ahead on my WP blog in preparation for doing some traveling later this year, and want to be able to tweet my blog entries twice a week while I’m not at my desk.

    So I’m keeping an eye on this thread, to see when you get the feature worked out where I can upload all my posts and then have them go out through cli.gs, then I’ll sign up! Am already using cli.gs, and love it.

    Thanks for all your work on this! Rosana

    Comment by Rosana Hart (2 comments.) — February 10, 2009 @ 10:13 pm

  126. Ah, yes…my chief frustration so far. When are you leaving? I’ll try and get it done before then! No promises, though…

    Comment by Joe Dolson (595 comments.) — February 10, 2009 @ 11:10 pm

  127. Joe, I don’t know exactly but probably June or later…. gives you time to try a few things!

    Comment by Rosana Hart (2 comments.) — February 10, 2009 @ 11:21 pm

  128. Hi. I have question about Pages support. I see there are options for tweets for when new Pages or Posts are created, but then I only see a tweet option for when “an old post has been edited”. Is this possible for pages too? Does it include pages?

    Ideally, what I’d like is for all new blog posts to get tweeted by any author to our main Twitter account, but then I have one author who has one page that I’d like to get twitted when he updates the page.

    Is this doable?

    Thanks, Michael

    Comment by Michael McHugh — February 11, 2009 @ 9:36 pm

  129. Well, I can’t honestly say that there’s a good reason that I didn’t make that option available - I’ll look into it. It really shouldn’t be a major problem.

    At some point, I do intend to expand on the individual author settings, as well, so that each author can have more customized settings.

    Comment by Joe Dolson (595 comments.) — February 12, 2009 @ 11:12 am

  130. Thanks for that amazing plugin !

    I have a little question about the customized settings for a blog which has multiple authors. The idea would be to have a tweet on the principal Twitter account of the blog like this kind: “post title” by “@twitter id of the author”

    Do you think it’s currently possible ?

    Comment by lowett — February 13, 2009 @ 8:09 am

  131. I think that’s a great idea; and I’ll definitely try and put it into the next update. Thanks, lowett!

    Comment by Joe Dolson (595 comments.) — February 14, 2009 @ 10:32 am

  132. Thank you Joe ! I’ll be waiting for the next update :)

    Comment by lowett — February 14, 2009 @ 10:54 am

  133. Why not integrate the funtion of Tweet This to this plugin?
    Just record the generated cli.gs URL of the post in the custom field then we could re-use the short URL in the “Tweet This” link.

    Comment by Hayden — February 21, 2009 @ 12:00 pm

  134. Actually, the generated cli.gs URL is stored in a custom field; perhaps I should add the custom field into the WP to Twitter area, so it’s more obvious when editing.

    Thanks, Hayden.

    Comment by Joe Dolson (595 comments.) — February 21, 2009 @ 6:18 pm

  135. When I try to access on the Settings page I got nothing :( .

    I only see de left sidebar of wordpress as usual, but nothing to set in this plug in…

    How I can fix this ?

    I use Wordpress 2.7.1 . Is that the problem ? Thanks in advance.

    Comment by wal — February 21, 2009 @ 11:43 pm

  136. Are you an administrative level user? It may be that you don’t have sufficient permissions to adjust settings in the plugin…

    I’m on version 2.7.1 and haven’t had any problems, nor have I had any other reports of problems specific to 2.7.1, so that’s unlikely to be the problem.

    Comment by Joe Dolson (595 comments.) — February 22, 2009 @ 10:25 am

  137. Hi Joe,

    Thanks for persisting with the scheduling feature. From initial testing it seems to be working tops. (That personal “vendetta” you mentioned previously is in the past… fingers crossed).

    Also, a quick note to let you know that your support and commitment to WP-to Twitter is greatly appreciated.

    Comment by Robert@PNG (11 comments.) — February 24, 2009 @ 4:31 am

  138. Thanks, Robert! I appreciate that.

    It was certainly a relief to finally identify the problem!

    Comment by Joe Dolson (595 comments.) — February 24, 2009 @ 10:01 am

  139. Hi

    I use Version 2.7.1

    I seem to have the same problem as wal. When I click Settings - WP -Twitter the right side is just blank?

    Can you help? :)

    Comment by Nina — February 24, 2009 @ 1:47 pm

  140. I’m pretty sure that I’ve identified this problem (although I’m not 100% sure, I’ll admit.) I’m going to wait and see if any other issues crop up with 1.3.1, then I’ll send out the update in the next couple days.

    If you’re comfortable with PHP, I can send you the change - it’s just a few characters. Let me know. (Both of you!)

    Comment by Joe Dolson (595 comments.)