Current version: 2.1.2
Donations to date: $879.00. Downloads to date: ~258,000. Donation per download: approximately one third cent.
This is primarily a release targeted at tracking down some nagging problems; but it includes the ability to disable error messages for those suffering from errors even when the plugin is correctly shortening and posting your status updates.
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.
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
- Upload the `wp-to-twitter` folder to your `/wp-content/plugins/` directory
- Activate the plugin using the `Plugins` menu in WordPress
- Go to Settings > WP->Twitter
- Adjust the WP->Twitter Options as you prefer them.
- Supply your Twitter username and login.
- 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.
- That’s it! You’re all set.
Comments on this post are now closed; please make support requests on the support page.

Comments on this post are now closed; please follow comments on the new support page!
@Vince Glad that it’s working for you now. Wish I could help you with the FeedWordPress problem, but you’ll have to ask them!
@HotForWords I sent you an email with a patched copy, but I can easily imagine that you wouldn’t have received (unknown zip file from an unknown sender…) If you didn’t, let me know - I’d like to check whether the patch works before I make it public.
@Erik Have you checked to make sure all your settings are what you expect? Are you getting any error messages? Did you set your Twitter username and password?
Hi there, we have added wp to twitter, but when we want to post a message trough WP it does not show in twitter, does anyone know what the problem is?
Greetings erik
I had to go all the way back to 1.3.7 to have the plugin work.. even with 1.4.4 I still get the error: Cannot use object of type stdClass as array in /html/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 272
OK, went for the upgrade to your latest version, and can report back that everything works great. Excellent work, and thank you.
just wish I knew why I still get the RSS feed errors as an error log with tons of entries like this:
[10-Aug-2009 17:39:25] MagpieRSS: Failed to fetch (HTTP Error: malforme)
Using the FeedWordpress plugin
I don’t provide official support for WordPress MU, so I can’t say for sure whether it’s an issue with MU. I recommend giving version 1.4.4 a try — most of the bugs concerning 1.4 should be gone now, but this is something new to me, so I can’t say for sure whether it will be an issue.
-Joe
I wondering if after deleting the word ‘New:’ it’s the leading # causing it
I am using WordPress MU 2.8.2 and your plugin version 1.3.7 as it works without issues otherwise and concerned about some of the new bugs others have reported.
I can’t reproduce the error; what versions are you using?
Hi Joe,
Do you mean the text in the field “Text for this Twitter update” which by default has:
New: #title# (#url#)
If so, when I remove the ‘New:’ my posts don’t get Tweeted
@vince You can already do that. It’s in the settings.
Hi,
Can you allow us to remove the leadfing word “New:” please?
Don’t really need it, and it takes up a valuable 5 characters.
Thanks
No, not at the moment. Given the demand, however, it will be one of the next features added.
Is it possible to add code for post content, e.g. #content to insert first 100 characters from the post?
Hi there,
I got the error message
I can’t delete it… Neither upgrading to the latest version..
Plus i would like to tweet the post if it was not tweeted.
Thanks
Ever since I upgraded I cannot use the plugin. I keep getting the following error:
Fatal error: Cannot use object of type stdClass as array in /html/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 272
No errors while installing?
Plugin activated?
Twitter Account added?
It doesn’t work for me. Nothing happens!
The missing settings page is a known bug (in the FAQ) — did you attempt the solution provided above? If it didn’t work, then this is something new.
@cam There seems to be something quirky about updating posts in this version. Hopefully I’ll have time to fix that over the weekend.
@ Bruce: You can set an idividual Twitter Account for each WP-User-Account.
I’m running v.1.4.3 but don’t have these errors. It works pretty well for me.
Same problem as @Melvin: the settings page is empty, after upgrading from 1.3
cheers,
Tom
Hi there, the plugin has started playing up for me was good up till just the other day. updated to 1.4.3. using wordpress 2.7.1.
You can see the problem here: http://twitter.com/bibigallery
I had the #tile# set but not the #URL# I was updating a post.
This sounds like a great plugin. Will it post to more than one Twitter account?
My WP to Twitter Settings page isnt loading anymore! =(
I just get an empty page.
I tried to reinstall the plugin but it didn’t help!
Any idea what could be wrong?
Thanks
Just wanted to say a big thank you for this plugin. I’ve only just found it having waded through a large number of WP plugins that purported to post bit.ly or other shortening service links, only to find that they weren’t working properly and didn’t do the job I wanted them to, which is a shame - if they’re not ready for ‘prime time’ developers best serve themselves by holding back until they are. Yours works ‘straight out of the tin’, was a doddle to set up, and I’m very pleased with its ability to post Twitter notices not only of new blog entries but also edits, pages and blogroll links. Nicely done! Thanks again!
Found a bug with the new hashtag support, tags that contain spaces are handled very poorly, you need to either remove spaces or replace them with _
AWESOME plugin. Just upgraded, got excited about being able to add my posts’ tags as hashtags. Then I realized, my half-asleep mind confused tags with categories — THAT would be nice. I tend to put tons of tags on my posts, but I keep the categories to a minimum.
In any event, I have my plugin set so that it ONLY tweets when new posts are published. However, when I updated a post, the plugin sent out a tweet that consisted of nothing but the tags from that post. So first of all, it shouldn’t have tweeted anything to begin with, since I have “post update” tweets disabled. Second of all, is it really just supposed to just “tag vomit” without the title or URL? Third, when there’s a multiple-word tag (I often tag names of people or companies mentioned in my posts), Twitter obviously only links the first word. Even though, as stated, I won’t be using the tag feature, others who do might find it nice if there was some way to convert the spaces to underscores and/or just eliminate them on the fly.
i am also getting the same json error. :\
Hi,
I downloaded it again (04.08.2009 8:33 UTC, 10:33 GMT+2), but the error is still present:
Fatal error: Cannot redeclare class Services_JSON in /srv/www/vhosts/manuel-rauber.de/httpdocs/wp-content/plugins/wp-to-twitter/json.class.php on line 116
Any ideas?
Hiya
Im now also getting
Fatal error: Cannot redeclare class services_json in /var/www/vhosts/spiceworks-news.co.uk/httpdocs/wp-content/plugins/wp-to-twitter/json.class.php on line 116
As Manuel, any fix? i have redownloaded and tried to activate on another machine.
Great plugin though
Thanks!!! funny, that. It works now.
You must have downloaded the plugin during the interval between when I first uploaded 1.4.2 and when I noticed I’d made a typo…if you download the plugin again and over-write your existing copy, this problem should go away.
Sorry about that!
Hi
I am unable to activate your plug-in. I am running the latest WP
this is the message I get — thanks in advance!
Warning: main(/var/www/html/blog//var/www/html/blog/wp-content/plugins/wp-to-twitter/json.class.php): failed to open stream: No such file or directory in /var/www/html/blog/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 42
Hello!
Since I updated today, I get the error
Fatal error: Cannot redeclare class Services_JSON_Error in /srv/www/vhosts/manuel-rauber.de/httpdocs/wp-content/plugins/wp-to-twitter/json.class.php on line 797
when I try to activate the plugin.
Any Ideas?
Greetings from Germany
Great Plugin! Works very well. Thx for developing it!
Version 1.4.2 has just been committed; I failed to include that file (required for PHP versions 5.1 and below) in the previous commit.
That’s what I get for hurrying to get a fix out!
I just installed the 1.41 update and got the following:
Warning: main([pathremoved]/nevertoolateguitar/wp-content/plugins/wp-to-twitter/json.class.php) [function.main]: failed to open stream: No such file or directory in [pathremoved]/nevertoolateguitar/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 42
Fatal error: main() [function.require]: Failed opening required ‘/[pathremoved]/nevertoolateguitar/wp-content/plugins/wp-to-twitter/json.class.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in [pathremoved]/nevertoolateguitar/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 42
Hi Joe, I upgraded to 1.4 now my posts don’t go to Twitter. I get this error after I make a post. Is there something I should do? Or is this something you can fix? Thanks a lot
Fatal error: Call to undefined function: str_ireplace() in /nfs/c04/h03/mnt/64150/domains/pessimets.com/html/wp-content/plugins/wp-to-twitter/wp-to-twitter.php on line 291
is it possible to set it to tweet only when I update/post under a specific category , I dont want to tweet every post I just want to tweet specific post under specific category , can I do that and how ?
Damn. That means that your server doesn’t support PHP 5.2, which is something I forgot to account for. I’ll release a new version tomorrow which is PHP 4 compatible.
Sorry!
I just upgraded to 1.4.0 and added my info to use bit.ly. Now, when I got the settings page fro WP to Twitter I get the following:
Fatal error: Call to undefined function: json_decode() in /home/jeffsi2/public_html/nevertoolateguitar/wp-content/plugins/wp-to-twitter/wp-to-twitter-manager.php on line 212What do I do about this?
Cool I will digg deeper …Thanks
Ah - the “Tweet this” button is totally separate! My plugin doesn’t incorporate any visitor-facing features, so that’s coming from something else: either from another plugin (such as Tweet This) or from your theme.
Yes you are talking about on the settings page…. The title is showing when a new post is added, just not working when you press the tweet this button on the post itself?? only shortened URL ..is there somewhere on the post page or elsewhere I need to put #title#
Are you using the #title# shortcode in your tweet text? The shortened URL will always be added if you have “Provide link to blog” checked, but nothing else is guaranteed unless you’ve provided the appropriate shortcodes.
What am I doing wrong?? When I tweet a post the only thing that it tweets is the shortened URL..No title of the post
Hmmm, in that case I’ll just disable it. No big deal, I just like to use functionality that is in a plugin.
BTW, I’ve got the “title” selected as the twitter post text.
Posting links isn’t one of the particularly feature-rich options. The custom text box for links only comes into play if the link title or link description isn’t present. It also doesn’t support any of the shortcodes available in blog post updates.
However, it will post whatever you write in the link description as your Tweet if you have link description as your selected option — so you should be able to write a fairly extensive description and have that work.
Although I have to admit that I haven’t actually tested the link posting options at all with 2.8 — I wasn’t sure that anybody was actually using that functionality! Now that I know differently, I should probably go in an check that out.
Okay, using WP 2.8.2
I have the box checked so that it will update when I put up a new link in my site, but it’s not pulling the custom stuff that I have so that it displays fancy on Twitter. It was just posting the link name and a reduced url to the link.
What do you need from me to correct this?
I use it with Feedwordpress RSS plugin and it works fine, except I get an error_log file in the blog root and wp-admin folder full of entries like this:
[11-Jul-2009 06:20:15] MagpieRSS: Failed to fetch (HTTP Error: malforme)
It looks like this has been discussed here a little but I can’t find a solution in these comments… the plugin is great, I love it but it doesn’t seem to work with automated posts - only posts done manually. Is this going to be added or is there a workaround?
Thanks in advance!
-Tony
Do you have this problem every time or occasionally? Is this a new installation which has never worked or an older installation which stopped working?
Did you run the test script? (Bottom of the settings page.)
“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 am having the same problem.
I changed the cli.gs api key but it doesn’t help!
Well, in theory, it determines where your posted Cli.gs URL will be set in the Twitter status update. However, it doesn’t seem to work for a lot of people, so you can just delete it. Hopefully it’ll be better in the next update.
Just started using the plugin today, like what i see so far. I’m just a bit unsure about one thing - whats does the (#url#) actually do? and do i need it? Is there any benefit?
Thanks very much Joe, for letting me know and for looking at our XML-RPC issue!
Very much appreciated!
Best, Bart van Poll
@Dani There’s no way for you to use html to make the post-title the link, for the simple reason that Twitter doesn’t support that. Even if you tried to code a link, it wouldn’t actually work out that way.
Using your normal permalink is something which will eventually be supported, but which I haven’t put in place yet - it’ll be available in the next release.
Best,
Joe
I really, really just want to use permalinks instead of clig. The clig url is really ugly and this twitter account is for a business. OR, and this would be preferrable, can I use an a href like deal to not show the url and just make the post title the link?
@Chris — Well, that certainly seems unusual! I’m not seeing it myself, and I haven’t yet heard any other reports in common. Seems very strange. You may want to contact Pierre at Cli.gs and ask if he can see what’s causing the automatic creation of the cli.gs; there’s a source parameter in WP to Twitter which could allow him to see whether these cligs are coming from the plugin or being generated in some other way.
I suspect, if it’s a WP-to-Twitter thing, it’s being caused by some kind of scheduling weirdness in your WP installation - but it’s hard to say what you can do about that.
@BartVanPoll I’ll take a look at that — I do remember some kind of problem involving differentiating between new and edited posts with XMLRPC, but don’t recall the details right now. It’ll be sometime next week that I look at this.
@Vince I won’t be dropping Cli.gs as an option, but I will be adding alternative options for URL shrinking, so that users who have chronic problems with Cli.gs will have other options.
Great plug-in!! I was wondering if anyone else was seeing the same thing I am in my Cli.gs account since using your plug-in. Basically, new cli.gs are getting created for each of my posts every day. It seems to be happening automatically. Anyone else seeing this? This only started happening since I began using your plug-in over another wp to twitter plug-in.
I am on WordPress 2.8.2, Apache/Linux and I am on the current version of your plug-in.
Thanks!
Hi,
I can confirm it seems to work OK with WPMU, except I get an error_log file in the blog root and wp-admin folder full of entries like this:
[11-Jul-2009 06:20:15] MagpieRSS: Failed to fetch (HTTP Error: malforme)
Using the feedwordpress plugin, latest version
I also get the following message in the admin backend every so often:
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
The query to the Cli.gs API failed, and your URL was not shrunk. The normal post URL was attached to your Tweet.
Maybe best to have option to turn off the Cli.gs integration as it doesn’t seem reliable?
Any ideas?
Many thanks
Hi Joe,
Great plugin! The best mix of everything for me…
A small issue for me…
I have selected
> Update Twitter when a new post is published
> Update Twitter when an old post has been edited
> Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)
I publish new & update postings via XMLRPC.
When I UPDATE a posting, in Twitter it says “New post” while it SHOULD say “Post Edited”.
Do you know what could be the issue?
Thanks!
That’s interesting — I wonder if there’s a change in the security settings for XMLRPC with WordPress that I’ll need to look into. Still surprising, since WP to Twitter doesn’t actually interact with XMLRPC…
It seems there’s a current issue with xmlrpc and WordPress for iPhone anyway: http://iphone.wordpress.org/2009/07/16/xml-rpc-fix-testing-help/ (although that’s not the error I get) so perhaps the problem is related?
That’s interesting, deKay — I’m at a bit of a loss to see exactly how it could happen, but I’ll certainly look into it. The only way WP to Twitter interacts with XMLRPC is to to be aware of XMLRPC posts and Tweet them if the settings allow it; it shouldn’t have any interaction at all with any other XMLRPC actions.
So, it’s a strange thing. But, that’s programming. Unexpected collisions.
WP to Twitter is stopping other services from posting via my blog using xmlrpc. When I upgraded WP to 2.8, Flickr could no longer post to my blog, but I assumed it was a Flickr problem. Now I find the iPhone apps Blogpress and WordPress for iPhone both fail to talk to it any more, with assorted errors about xmlrpc not existing, my blog not existing, or passwords being incorrect.
Disabling WP to Twitter allows them to work again. The issue must lie with WP to Twitter (and WP 2.8/2.8.1) because disabling *all* my plugins bar it, and reverting to the standard template still doesn’t work.
If the option to post a URL to Twitter is checked, the plugin will always add the URL, whether the shortcode is in the string or not; if the shortcode is present, the URL is supposed to be added at that location, otherwise it’s just appended to the end of the string.
I’m still uncertain why the #url# shortcode isn’t working for some people, but hopefully I’ll find it one of these days!
I had the same #url# problem appearing in the Title. Here’s what I did. In the settings, I checked out the Post title and only left #title# in there. I removed the #url# and it posted fine. Apparently the plugin “knows” to place the URL at the end. So it’s almost a duplicate effort.
Note: when I do this, I never type anything into the Twitter text box at the bottom of the post. I just post.
This is a very wicked plugin. Unfortunately, I don’t currently use WordPress but will be migrating soon.
Thanks for sharing it here.
I didn’t notice that you mentioned that the revision tweets are only Tweeted when the post actually goes live; that’s rather interesting…that may be a new bug that I wasn’t aware of.
I’ll look into it!
-Joe
It won’t get Tweeted if saved as draft post would it?
I just checked those settings and I only have “Update Twitter when a new post is published” checked. I also have Quick Press enabled, but I don’t use that so I turned it off.
You should disable tweeting of posts on editing - you can change that easily in the settings.
Great plugin! I do have an issue when scheduling posts. The plugin Tweets every revision made to the post. So say I write a post and save it 5x before I shedule it to be published. When the scheduled time comes around, there will be 5 Tweets that go out for the post.
I had one post with over 20 revisions (it was a long editorial article), and so when it went out as scheduled there were 20+ Tweets.
That should be manageable; I’ll look into adding this into the next release, although I have a number of other updates also scheduled in that release — whether this makes it will depend mostly on how long I want to wait before release!
Thanks for the information, Lee — I’ll see what I can do!
Thank You for the great plugin! Like Steven above I would like to suggest having a bit of the post text included in the tweet. Maybe you could make the option to add the first few characters in brackets (140 chars minus the length of the title and the url)?
the urlencode kill my title text as I am writing foreign language blog
ex.
ทัà¸?ษิณ ดà¸à¸”นà¸à¸™à¸¡à¸²à¹€à¸¥à¸¢à¹Œ ถาวร จ่à¸à¸£à¸§à¸šà¹?ต่หนีทัน => length is 40
when encoded it says length is 336
%E0%B8%97%E0%B8%B1%E0%B8%81%E0%B8%A9%E0%B8%B4%E0%B8%93+%E0%B8%94%E0%B8%AD%E0%B8%94%E0%B8%99%E0%B8%AD%E0%B8%99%E0%B8%A1%E0%B8%B2%E0%B9%80%E0%B8%A5%E0%B8%A2%E0%B9%8C+%E0%B8%96%E0%B8%B2%E0%B8%A7%E0%B8%A3+%E0%B8%88%E0%B9%88%E0%B8%AD%E0%B8%A3%E0%B8%A7%E0%B8%9A%E0%B9%81%E0%B8%95%E0%B9%88%E0%B8%AB%E0%B8%99%E0%B8%B5%E0%B8%97%E0%B8%B1%E0%B8%99
I think the substr and strlen should be replace with mb_substr, mb_strlen but can’t not get it work correctly.
Could you please test and fix
Thank you
Ahhh, ok. I wasn’t aware of that. Thanks! It’s a great plug in!
@Patrick No, not at the moment. I’ll have to sit down and go through the plugin with WP-MU one of these days; as it is, it’s really just a fortunate coincidence that it works, since I’ve never tested it in that environment!
@Billy In fact, it’s pretty much out of my hands. I can tell you how to change it: write a plugin and register it with Twitter using your blog name and URL as the software home address and name.
In short, that link is coming from the information I gave Twitter in registering my plugin with them.
Hello!
I doubt you’ll allow this because this is how your plugin gets promoted. BUT, is there any way you could tell me how to change the posted “from WP to Twitter” line below the tweets which links to this page?
It would obviously just be more professional if I could make it say that the tweet was posted “from My Blog Name”.
Never mind in re #2. Its working. I’m still not sure why it was not working for a bit. Guess I need to slow down and practice good techniques.
Hey Joe,
Thanks for the feedback. I was mixing messages in there. I’m using Register Plus, which allows you to theme the subscriber profile in addition to login/register/password pages, and I was hoping to theme other roles. Sorry about the mix up.
Regarding defaults, this is for a WPMU install, so modifying defaults would be really useful to me. I’ll mod the file as you suggested.
I have 2 other questions?
1) Is there any way to add another option on the settings page that allows admin users to check a box to automatically post comments to Twitter as well?
2) Can you think of any reason that the option to add twitter credential to author profiles wouldn’t work? I’ve checked the box on settings that allows authors to enter their accounts, but its not showing up on their profile page. It was there previously, but I’ve been moving at such a break neck speed and made many changes to sitewide config, plugins, etc., that I can’t retrace my steps and identify the problem. Any know conflicts that cause this particular problem?
@matt If what you’ve written is exact, then you need to use the #url# shortcode in lowercase - in the next version it won’t be case specific, but for now…
@vineesh Eventually…just need to find the time.
@vince Judging from @patrick’s comment, it appears that it works just fine with WPMU - I haven’t tested it myself, but it seems promising!
@patrick Theming roles: I’m not sure how this applies to the plugin. Not really sure what the question is… Changing Default Settings: Might be something worth adding for WPMU use, but for individual blog use I haven’t really had a reason to offer that. You can go into the plugin file itself and make changes, but there’s no easier way to do it. The settings are all in the file
wp-to-twitter/wp-to-twitter-manager.php.I just installed the latest version of WP to Twitter on WPMU 2.7.1 and it works great! Nice work with this plugin. I have a few questions, and I did a search on these comments but didn’t find an answer, so apologies for repeats…
1) Is it possible to theme roles other than Subscriber? In my particular case, I’d actually like to theme everyone’s profile but admin. (Lengthy reasons…)
2) Is it possible to change the default settings for the plugin? For example, I’d like “Update Twitter when an old post has been edited” to be unchecked by default (the default settings are used each time a new blog is created on WPMU, and I have some specific defaults I’d like to use).
Thanks!
Patrick
Hi,
Does this plugin work with WPMU?
I tried the Twitter Suite plugin which works fine on standard WP, but gives SQL errors on WPMU
Would I have same issues with WP to Twitter plugin?
Many thanks
Hey Joe
Any possibility of using bit.ly with WP->Twitter?
Thanks.
Vineesh
Hi, thanks for developing this plug in in, it seams to be great, but apparently I’ve got a problem. It does post to twitter, but it only fills the custom field #title#. #url# is not replaced with the post’s URL? So my tweet looks like: Blog Update: This is a test post, (#url#)
What could be the problem?
I am using WP 2.7 on apache.
I haven’t observed any problems with 2.8 myself; I’m intrigued by the apparent fact that people are finding the plugin to fail in 2.8 after initially working…that’s *extremely* strange, to say the least.
I would appreciate it if somebody who’s having this problem would post their settings for me and let me know what publishing circumstances are causing problems so that I can test this more thoroughly (without having to go through every possible settings combination!)
For the moment, I’m going to continue to consider it stable in 2.8, lacking any obvious evidence to the contrary…
@mo the plugin does work for 2.8 however like from what I see in many of the comments I do fail silently. I was able to send one tweet with the app before it cut out on me.
2.7.1 runs perfectly, i wanna update to 2.8 but without WP-to-twitter its shite

idk if it runs on 2.8, if you say yes, it would be awesome
peace
mo
What are your other settings? What method are you using to post which is causing the problem?
will there be an update for 2.8 ?
i have no idea what im doing wrong but i have “Update Twitter when a new post is published” checked and it still wont tweet the posts.
Joe, love the plugin! as far as I can tell everything is working as advertised with the exception of one bug I can not resolve. Tweets look great for new posts, but the tweets for post updates are not translating the #url#. The tweet literally posts ‘Post Edited: Title of Post (#url#)’.
Any reports of this or any thoughts?
-Tim
Glad to hear it!
My bad…your great plugin is working just fine!
Thanks, Mike! I appreciate your comments - especially without a problem to report!
@donne I wish I could help you, but without some kind of information about how you’re using the plugin, there’s really nothing I can say.
Just had to say what a great plugin. Works fine on latest 2.8 WordPress.
Sorry I don’t have any problems for you
It is still not tweeting.
Thanks, Joe.
I am pretty busy myself, but as time permits I will dink with the code. If I work out a solution before I hear from you, I’ll post it up on the site. In the mean time the external_url will do OK.
That looks like it would be pretty easy to connect with this plugin. Although I don’t have time to do it this week, I should be able to get support for it added before the end of the month.
Until then, you can place the Twitter Friendly link into an
external_urlcustom field and the plugin will substitute the external_url for the shortened URL.WordPress 2.7.1.
- Operating System : Linux
- Server : Apache
- MYSQL Version : 5.0.67.d7
- PHP Version : 5.2.5
My Current Plugins include:
Twitter Friendly Links 0.3.4
WP to Twitter 1.3.7
I have had too many times when Cli.gs simply did not respond. I couldn’t even log in to Cli.gs to review my account. I installed Twitter Friendly Links and it gives me acceptably short urls.
How do I get WP to Twitter to use the short links from Twitter Friendly?
@Richard Khaaliq The only suggestion I have would be to disable and re-enable the plugin in WordPress. You could also simply try refreshing the page — this is outside the control of the plugin, however: the update notifications are pretty much entirely controlled by the WordPress core.
@donne It should appear pretty much immediately, unless you’re using scheduled posts, in which case it will appear whenever the post actually launches.
How long does it take for the tweet to appear?
After upgrading to 1.3.7 the message “There is a new version of WP to Twitter available.” continues to display in my blog. How can I fix this?
@Tom - You do need to edit the file in an external editor with line numbering, then upload the edited file to the server. Almost any external editor would work — if you have something like Dreamweaver already, it’s built in, or you can open the file in a text editor such as Notepad++ or a similar product.
Hi Joe,
unfortunately, the settings will not show in WP. I would like to solve the problem following your advice above “commenting out lines 145 - 190 in wp-to-twitter/wp-to-twitter-manager.php” . But in WP Plugins Editor are no line numbers indicated. So which content should I comment out? Which other editor should be used?
Thx for your help!
Tom
WP 2.7.1, new installation, server type n/a
Yes, I just tried it out tonight, the plugin works as advertised, creating the Cligs link and everything, when I publish a fresh post.
Sadly, this is the last time in my life I plan on doing so, however… I really need the scheduled posts to go out with it too!
Thanks in advance for your help.
Luke
It is officially working fine. [For what it’s worth, that information can all be found in the version notes in the file
readme.txtwhich is supplied with the plugin.]No. They are completely separate functions. However, it could be that problem effecting your server is common to both functions.
It must be checked in order for XMLRPC clients to be able to publish to the blog. It has no impact at all on scheduled posting.
All in all, I’d say that these are probably two completely separate problems. XMLRPC is sometimes disabled by hosting services for security reasons; Hostgator probably has some kind of documentation about this if they do.
I’m not sure what might be causing problems with scheduled posts. If the scheduled posting is happening at all, it should be fine with the plugin as well.
Can you confirm for me that the plugin is working when you publish a post normally?
Hi Joe, thanks in advance for your awesome plugin & support. I’ve used two other Twitter reposting plugins, and yours is clearliy the most feature rich and user friendly. Congrats!
Unfortunately, all three of these plugins (yours included) fail to work on a bunch of my blogs. They simply won’t post a new post tweet for any of my scheduled posts, xmlrpc or not.
My first question for you is if the xmlrpc issue got fixed or not, I noticed in the thread above someone having that problem says it’s working now, but you never officially said it was working fine.
Second, Is a post made the old-fashioned way, but scheduled for later, handled the same way as an xmlrpc post, as far as your plugin is concerned? I can’t get either to send a new post notification to twitter.
Question #3: Is the checkbox for “Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)” supposed to be checked for one or both of these situations in order to send out a new post tweet?
I’m using your latest (1.3.5) with WP version 2.7.1. I admit that I do have a buttload of plugins turned on, but I’ve tested this with all but askimet disabled to the same effect.
I’m being hosted at hostgator with PHP 5-something. A standard, modern linux shared-server package.
The rest of my settings are as follows:
— — — — — — — — — — — — — — — — — — — — — — — — — — — — —
O Update Twitter when new WordPress Pages are published
O Update Twitter when WordPress Pages are edited
X Update Twitter when a new post is published
Text for this Twitter update: New post today! #title#
X Provide link to blog?
O Update Twitter when an old post has been edited
O Provide link to blog?
O Update Twitter when you post a Blogroll link
O Use link title for Twitter updates
X Use link description for Twitter updates
O Text for this Twitter update (used if above choice isn’t available.)
O Set default Tweet status to ‘No.’
O Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)
O Update Twitter when a post is published using QuickPress
Custom text to be prepended on every Tweet (none)
Custom text to be appended on every Tweet (none)
Custom field containing an alternate URL to be shortened and Tweeted. (none)
— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — -
Additionally, I’ve entered my Cli.gs API key, but problem existed before doing that too.
Looking forward to finally using twitter!
-Luke
Works great, thank you
Thanks for the detailed information, Matt and Brian! I should be able to get the problem identified fairly quickly, now.
I’m not sure about the issue with user roles — I’ll look into it.
Joe - can you help us out?
Matt - thanks so much. You are right, if “Provide link to blog” is checked, then #title# works fine. If its not, then it doesn’t work.
Also, on my system I have user roles that can only submit drafts for review. They are then published by supervisors. It appears that those blogs aren’t sent to Twitter - only those created by the admin account????
I’m having the same issues now (#title# showing instead of the actual title of the post)… seems like this only happens when “Provide link to blog?” is unchecked. My previous setup just the post title and link to the homepage of the site, not the URL to the actual post. can’t seem to do this now.
I’m having the same problem as Zale. WP 2.7.1 and WP — >Twiter 1.3.4. My tweets show #title# and #url# instead of the actual title and URL.
What an incredibly usefull plugin! Works like a dream.
Thanks for your hard work!
Ab jetzt gibt’s den Blog auch auf Twitter!…
Endlich habe ich ein kleines Plugin für meinen Blog gefunden, das es mir erlaubt, automatisiert meine Blogeinträge auch an meinen Twitter-Account zu übergeben. Das Plugin heißt “WP to Twitter”, wurde von Joseph Dolson programmiert und …
I’m definitely aware of people’s concern with the longevity of these URL shortening services, and a custom shortener option is planned for the plugin in time.
Instead of using a 3rd Party URL shortener like Cligs why not have WP create it’s own short URL like the Link Shortcut plugin does? Would love to see it integrated into a Twitter plugin like this one.
I’m weary of the long term viability of many URL shortening services and would just prefer to have my own short URL’s.
Tried quite a few WP to Twitter plugins, but like this one the best…..
Thanks
Hi There,
I just installed the plugin and its sending out the Tweet - but I get #title# instead of the title.
Running 2.7.1 on Bluehost with a number of plugins.
Any ideas?
Zale
working fine! Thanks!
Thanks Joe.
R
I’ve been planning on incorporating this into WP-to-Twitter since the beginning, and have just been waiting for Pierre to get that feature developed into the API. He knows this; and I’m keeping on top of API development.
So, in short - yep. It’ll be there. Eventually.
Thanks!
Hi Joe,
I have been using WP to Twitter since the “early” days and apart from a few glitches earlier on it has been humming along nicely for me. I commend you on the continued and prompt support you provide for your plugin.
I have also taken advantage of the cli.gs service for shortened URL names and last night I thought I’d check out the cli.gs siteto see what information and stats they offered on my tweets and I was quite surprised to see how many clicks on the cli.gs I’m getting from my tweets.
My website/blog is certainly no 1000’s a day blog but I do take an interest in stats (as one does) and I began to wander how I could show my cli.gs stats on my blog. Did a bit of searching to check if anyone had developed a plugin/function for this but no luck. This led me to email cli.gs to see what they might suggest. This is the response I got from Pierre:
Good question about showing stats on a WP blog. Currently, there isn’t
an API to extract the data and so it’s not easy to do. But: the new
Cligs platform will allow such an API to be built efficiently (i.e.
not kill the server) and so in a few weeks time, this kind of plugin
will be possible.
Now Joe - my question to you and possibly to other readers…. are you or any of your readers aware of any plans to develop and make available such a plugin. Would you perhaps consider including this feature in WP-to-Twitter.
R
Awesome. That’s what I hoped to hear.
Hello Joe,
.
Thanks for the Update, it is finally working now correctly with my blog
- Tony
That’s a section of the script which checks whether or not the server supports the methods needed to contact the Cli.gs and Twitter APIs; if you have the needed support, it’ll work just fine without those lines. They just provide some more user-friendly error messages so users have some idea what isn’t working if there’s a problem.
And they also, for some reason, cause the script to
exit;on some IIS servers. It’s a mystery to me.Ah, it’s so clear when you know where to look.
Thanks much for the help, this seems to be working now. Once I’ve set my settings, should I add back those lines, or leave them commented out?
Thanks,
Andrew
Ah - you’re looking at the wrong file. The lines need to be removed from
wp-to-twitter-manager.php, notwp-to-twitter.php.I appreciate the quick answer, but this doesn’t seem to be any better. Here’s what my editor thinks lines 145-190 are. There’s still a function declaration right in the middle.
Nope! Thanks - the line numbers changed with the new version, and I didn’t catch that. It’s now line numbers
145-190.Is the FAQ answer about not seeing the settings page correct? The lines you indicate seem to include the bottom of one function and the top of another - removing them will eliminate the 2nd function and merge part of it with the first. Is this really what you’re recommending we do?
Thanks,
Andrew
Yes, I’m aware of that - it’s next in line for treatment.
I’m running 1.3.4 now (thanks, Joe!), but when I post using the Bookmarklet, the “#title#: ” gets lost in the tweet and only the URL gets tweeted! When I edit & save the post, the post gets tweeted properly… Anyone seen this?
Perfekt und phatter Respekt ;O)
@René It depends on what method the plugin uses to create the posts. I’ll take a look at the LifeStream plugin when I get a chance, but it may not be possible.
@[lots of other people] Hopefully the 1.3.4 WP-to-Twitter update (released today) will clean up a number of these problems. If not, please let me know!
I have the same problem, new post not tweet but when I edit the post it will appear in twitter.
WP 2.7.1
Plugin version 1.3.3
Thanks
Hi,
I have a few comments to make about this plugin. First of all though - I love it. Unfortunately it’s not working correctly for me:
I have the “tweet posts when posted with Quickpress” option unticked, but it still tweets these posts - I use quick post for my Asides and so don’t want them tweeted. Please can you fix this.
I have the latest wordpress & the latest WP-twitter.
Secondly, I would love to have bit.ly account support as I prefer their stats.
Thanks
Zoe
Is there any way to get WP to Twitter working with automatically created posts f.e. from plugins like http://wordpress.org/extend/plugins/lifestream/ ? At the moment there will be tweeted nothing if there are new posts.
Hi,
For some reason the plugin does not work for new articles. No problem for the updates.
Setup options:
Update Twitter when a new post is published :ticked
NEW: #title#
provide link to blog: ticked
Set default Tweet status to ‘No.’ : not ticked
Any idea?
This plug in has been working great for the past few weeks. Now all of a sudden I get this error when I publish a post;
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.
Sorry! I couldn’t get in touch with the Twitter servers to post your new blog post. Your tweet has been stored in a custom field attached to the post, so you can Tweet it manually if you wish!
If you see these errors frequently, please notify the developer.
@Bill G: That’s a good suggestion; I’ll definitely deal with that in the next release.
@Steve: There’s no programmatic way to do that, but you can always include an excerpt from your post in the “Custom Tweet” field for each post.
I am still new to all of this and still “tinkering” around with the program. When I post is there any way to include some of my post in the Tweet other than just the Title and the shortened URL? It would be nice to have:
Title: blah blah blah blah blah http://www……..
Is there a way to include some of the post’s text in the tweet?
Thanks.
Oops, it seems like the style tags didn’t appear in the comment above. Things like bold, italics, strikethrough, etc.
Feature request: We typically use html style tags like in our post titles. It would be great if the plug in stripped those out before tweeting the title.
… ? … i posted a comment but id won’t be displayed yet … hey Joe - this should help you to find the problem: my php-info cli.gs/QDUt5B
Here’s an update: Today I posted a post once and it got tweeted twice! I have to admit I filled in Twitter credentials once for the Plugin and once for my WordPress account, but I can’t clear the Plugin Twitter Credentials, because then the Plugin tells me that they can’t be blank! I’ll remove the WordPress User Account Twitter credentials, but that will disable Tweets from different Twitter-accounts…
Idk if it would help you something, but if u want i can link u to my phpinfo, maybe u can find the error(s) there ?
Just drop me an E-Mail and I´ll link you.
Thanks
I have lots of reports, but none which contain any details which are helping me. I’ve never actually seen the problem on an installation I have access to; so I think that it’s in some way related to the server configuration — I just can’t see what the issue is. When work lets up a bit, this is my first priority.
Hello Joe,
I installed a fresh WP and im still having the same problem like i had
in my other post ( from December 19, 2008 )..
It only post to twitter when i edit an article, not when i write one ..
Did u ever found a solution ?
Thanks
I’m using WordPress 2.7.1 and WP to Twitter 1.3.3
When I make a new post (by using the Post It Bookmarklet) the post doesn’t get to Twitter. When I edit the post and save it, it shows up in Twitter…
hello, i am getting cligs errors all the time on my blog. the error comes, o click to clear the error, and then after 2 days or 3, its here again:
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. Check the Cli.gs blog to see if there are any known issues.
If you see these errors frequently, please notify the developer.
Hi. Having the same URL shrinking problem with Cli.gs. Been going on for 2 days.
Yes, Cli.gs is having some stability issues today; I don’t know what the current status is, but you can follow @cligs on Twitter to be notified of updates.
And out of the blue this: Warning: fsockopen() [function.fsockopen]: unable to connect to cli.gs:80 in /…./wp-includes/class-snoopy.php on line 1142
I’ve been getting that message as well .. I did a quick search on wordpress support and it suggested an issue with tweetbacks and couldn’t be bothered at the time so I deleted this plugin. I have restored the plugin, but still receive the error message when I post. The post goes live though.
I am suddenly getting errors for WP-Twitter. This message came up several times:
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. Check the Cli.gs blog to see if there are any known issues.
And out of the blue this: Warning: fsockopen() [function.fsockopen]: unable to connect to cli.gs:80 in /home/alsirat/public_html/voxnortona/wp-includes/class-snoopy.php on line 1142
Well, clearly there’s some common factor. I’m running the plugin on the latest version of WordPress Core without any problems, so that’s not precisely it - but it may be connected in some way.
I’ll have to play around until I can actually replicate the problem.
Thanks for your patience!
Hello Joe, I have the same problem als @miketmc and @geschenkefinder. The strange thing is that everything worked OK earlier. I think it stopped after upgrading WordPress Core some weeks ago.
Your plugin is nice but it does not store twitter login info and password and then the plugin does not work
it always put “admin” when coming back on the page
Well, at least that’s not a lot to look into.
I guess I still need more information - what version of PHP is installed, on what version of Apache, on which operating system?
WP: v2.7.1
installed plugins:
Add To Facebook (v1.4.3)
All in One SEO Pack (v1.4.91)
WP-SpamFree (v2.0.0.5)
WP to Twitter (v1.3.3)
note: the facebook & SEO - Plugin weren’t isntalled as the problem with WP-to-Twitter was cropped up at the first time
That’s really outside the parameters of what the plugin does; the plugin will already be called for any scheduled post, so if you can find a plugin which will automatically schedule postings once an hour, the plugin will catch those posts and send the information to Twitter. Scheduling posts, however, is outside what the plugin is meant to do.
Hi. I’ve been trying this plugin out. Is there a way to trigger a tweet at a point other than edit/publish, such as once an hour a post gets sent to twitter and a call is made to the plugin with a post id?
Well, all your settings seem right…this is mysterious. I know that this is a relatively isolated occurrence…can you tell me what plugins you have installed? Perhaps there’s a collision between plugins. Also, tell me what method you’re using to publish new posts - normal publishing, scheduled posts, XMLRPC client, etc. That’ll help me know where to look for problems.
problem: NO new posts will be displayed @twitter
ONLY updated posts will be displayed
wp-to-twitter v1.3.3
settings:
(o) Update Twitter when new WordPress Pages are published
(o) Update Twitter when WordPress Pages are edited
(x) Update Twitter when a new post is published (: #title# http://cli.gs/BG // Deeplink: )
(x) Provide link to blog?
(x) Update Twitter when an old post has been edited (: #title# http://cli.gs/BG // Deeplink: )
(x) Provide link to blog?
(x) Update Twitter when you post a Blogroll link
(o) Use link title for Twitter updates
(x) Use link description for Twitter updates (New link posted: )
(o) Set default Tweet status to ‘No.’
(o) Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)
(x) Update Twitter when a post is published using QuickPress
Custim fiedl… (external_link)
Campaign… (empty)
(o) Use Google Analytics with WP-to-Twitter
(o) Authors have individual Twitter accounts
twitter & cli.gs account data are correctly updated
So it seems like I have two issues here — @CNYRadio 1) updates are being tweeted despite being disabled and @miketmc 2) new posts are sometimes not being tweeted unless they’re updated.
Well, I don’t like that much…however, I haven’t been able to reproduce the problem. I’ll play around with settings and see what I can do. If you could both tell me your settings in detail, that would be helpful in letting me recreate the environment.
Hi,
I have a probelm with this wonderfull plugin (using under wp 2.7.1).
It does not publish a NEW entry. I must press “publish” Button in WP twice, before it is visible in twitter.
Cab you help??
Great plugin… works much better than a similar (and older) plugin I briefly used earlier. The first plugin I tried was a little buggy and the developer hadn’t been responding to or even approving new comments in 2 months. So I found this one instead, and it’s much better. Good job!
Just one tiny glitch I may have found. I have it set to tweet for new posts ONLY. Being a news website, I don’t want it tweeting headlines out to people just for updates, or when I make new pages. But tonight, I tested out the scheduling feature, to have a post launch at midnight.
It was nice to see the tweet did not go until the article was due to be published. (The first plugin I tried would have tweeted as soon as the article was saved, even if it was not due to publish well into the future.)
However, I updated this post a few times before and after the publication time — so when it published, every single update was another tweet — even though it shouldn’t have. So I had 5 tweets saying the same thing, each with a different cli.gs link.
Not a “major” issue, but just thought I’d share the experience. Sorry if someone already posted about it, it’s pretty late, I gotta get to bed, and I didn’t have time to read the other 215 comments right now… but I’ll check back tomorrow to see any responses and/or to see if this was already addressed earlier.
Thanks - that’s not the first report I’ve had about this kind of problem. I’ll look into it and see if I can find the issue.
i don’t know what happens but now the update to twitter when i write a NEW blog-entry didn’t work. the update of an UDATED blog-entry works fine… did u know why?
That’s a cool idea - I’ll have to take a look in the Synected plugin and see what I can do. Thanks, Greg!
I would like to recommend the use of the synected plugin or something similar so I can host my own short URLs.
@Martin (and everybody else with the shortcode problems) I’m still trying to figure out why this might be happening, and haven’t found any indicator.
I am also having some problems with this plugin.
My settings say :
- Update Twitter when new WordPress Pages are published : yes
- Update Twitter when WordPress pages are edited : yes
- Update Twitter when a new post is published : yes
- Update Twitter when an old post has been edited : yes
In both text boxes is have #title# and both have Provide link to blog checked.
Now when making a new post, i will have to enter the title of the tweet myself, #title# is doing nothing.
If i type #title# myself, i get ‘#title# as text in the tweet.
Furthermore, just publishing a new post will not create a tweet, however updating a post (or just pressing the publish button twice, which will become the update button after the first time you press it) will publish the tweet.
Any thoughts ?
@Pierre That should be working just fine; I’m really not certain. What happened to one person at a point in the past was that they simply needed to retype “#title#” to get it to work…but I’ll see if I can find a way to clean up these problems at the source.
After I do my taxes…
@John McMullen Glad that worked! It’s a frustrating problem, and I just haven’t found anything really helpful to solve it…
Again, after I do my taxes…
Got it working by commenting out lines 141-186 like you suggested. Not sure it there are other issues with it though. I’m just using it for sending to Twitter with new blog postings and it’s working like a charm. Thanks for the plugin!
Hello, I am having the same problem as Joe did in January. My goal is to post only the title of new blog posts to my Twitter account, with no URL shortening going on. So my WP-to-Twitter settings are all unchecked except for “Update Twitter when a new post is published”. My “Text for this Twitter update” is set simply to #title# because I only want to post the title. “Provide link to blog?” is unchecked.
The problem is the tweet comes through as literally “#title#” instead of passing through the actual title of the blog post.
Example here: http://twitter.com/100TWEETS/status/1486251970
Any thoughts on how I can work around this?
Thanks
I attempted to get this to work but nothing shows up on my twitter page. I do not receive a error nothing happens. i am running 2.7.1
Well - that’s new then! I’d like you to try the same solution, however, to see if it’ll work: comment out lines
141-186inwp-to-twitter-manager.php. Let me know if that works; that section is causing a problem on some IIS servers, it could be a problem for you as well.no, it’s apache2 on debian
Are you on an IIS server?
hi,
the settings page doesn’t display anything on my installation. it’s wp2.7.1 with these plugins:
- akismet
- all in one seo
- avatars
- xml sitemaps
- nextgen gallery
- mailpress
- podpress
- qtranslate
- sharethis
- smartyoutube
- wpcumulus
- wp-supercache
Joe
I can only get xmlrpc posts to actually tweet the content of the blog post using the #TITLE# in the update field and actually putting the full tweet in the title of the blog post
I could be misunderstanding how the plugin works, but looking at the code for xmlrpc I don’t see where it every actually initializes the content of the blog post into a variable.
Then again, I can barely read php and have no idea of the field values within wp itself so I am mostly guessing
So, I can take the full content of a blog post from my RSS2Blog script force it into the Title & wp-tweet sends to twitter perfectly. But of course my blog looks pretty funny
Long winded way of asking, is the content of a blog post supposed to be sent to twitter or only the title or blog title?
Thanks
Tex
Well, that helps shed some light on the problem. I’ve had a number of reports of problems running on IIS; you’re the first one to have an actual error number, though. In most cases, it seems that the plugin has just died silently.
If it’s the same problem, you can get around it by commenting out lines 141-186 in
wp-to-twitter-manager.php. Give it a try, and let me know if that works.I need to get into an IIS system so I can really nail down the problem…
Joe,
Thanks for the quick response, i’ve already tried removing/re-installing the plugin with no luck. I’m on a windows platform running IIS7 with the latest version of PHP installed.
-Dave
@David Well, that’s a new one. Can you tell me what server platform you’re on? Your best first attempt is probably to download a new copy of the plugin from WordPress.org, deactivate, and re-install from the fresh download; it might just be a corrupted file.
If not, we’ll see what we can figure out!
I’m getting a 500 error when trying to navigate to the settings page after activating the plugin. Using WordPress 2.7.1 with some basic plugins.
Hey Joe
One Quick request.
Is it possible for you to add an option that allows one to convert the post url into a Digg url before sending it to Cli.gs?
Thanks a trillion in advance!
Regards,
Vineesh
Thanks Joe…
Rather worryingly, I had switched off all the options in the settings screen (i.e. unchecked don’t tweet new posts + all other options) whilst I looked into this, yet it still seems to have tweeted a post I wrote yesterday and scheduled to go live today.
Good question! And yes, the documentation isn’t exactly thorough…
The text input “Campaign identifier for Google Analytics” only needs to contain the value of the
utm_campaignvariable — in this case, twitter_tweet.Your plugin looks just the things I’ve been searching for but documentation is a little thin on the ground (not a complaint) so I thought I’d ask here as you seem pretty responsive!
I want my links to be tracked with Google Analytics. Prior to moving to WP I managed this and my links ended up looking like this:
http://www.nickpotter.net/2009/03/canon-eos-500d-rebel-t1i.php?utm_source=twitter&utm_medium=tweet&utm_campaign=twitter_tweet
Now in your setting dialog, do I have to both tick the box that says “Use Google Analytics with WP-to-Twitter” and in the text input “Campaign identifier for Google Analytics” do I enter:
utm_source=twitter&utm_medium=tweet&utm_campaign=twitter_tweet
With or without the starting ? or is it something entirely different in there?
Thanks
ah too bad - Rather than try 2 instances of your plugin (that sounded shaky), I just found another plugin “WordTwit”, which I can use for the second account and the two don’t seem to step on each other.
Kind of surprised you haven’t had anyone request that though. Anyway, thanks for the great plug-in - you guys don’t get thanked enough!
@Brian Ales Honestly, I have no idea what would happen with multiple instances of the plugin. I’m fairly confident that it wouldn’t work; but I haven’t tried it. Having multiple Twitter accounts attached to each post isn’t a very high priority for me (sorry!), but I’ll keep it in mind when I’m making other updates.
Still looking to have *all* our posts (not the individual author field) go out through multiple twitter accounts - will it break anything to have multiple instances of the plug-in, one for each account?
thanks!
I came across a bug. I installed the plugin on the latest WP, running on IIS. When I activate and go to the Setting page, it is empty. The WP admin panel show up, but the pane where all the setting are supposed to be is empty. Any ideas how to fix this? Thanks so much.
Joe
Any idea when the fix to the xmlrpc function will happen? I notice it went to 1.3.2 but don’t think that fixed my problem
That said, is there a way to take your code from one section and move it into the xmlrpc section or is it pulling its info from somewhere else when it comes in through a feed?
Thanks
Tex
is it possible to have the plugin tweet to 2 or 3 twitter accounts?
thanks -
brian
Not a bad idea. I’ll add that in the next release…which probably won’t happen for at least three or four weeks, mind you…
Any chance of getting a mode where the site account will tweet to @author and then it will log in to the author’s account and tweet to @siteaccount?
Joe - thanks for update - will wait for you to let me know when done
Just so I understand correctly, the update field for new post - wp->Tweet should be left blank and then it will bring in the “body” of the post
OR
should I put the body of the post/tweet in the title?
I can force either - just curious
Thanks
Tex
That sounds like a bug! I’ll check into it and see what I can find.
Thanks for the quick response!
The external URL is being saved by the WP as the custom field syndication_permalink, which I’ve put into the options. Now, oddly, when a new post comes in and gets posted to twitter, it posts the WP site link instead of the external URL. However - this is where it gets weird - when editing an existing post and putting some text in the WP To Twitter box at the bottom of a post, it publishes to Twitter and shortens the link to the external URL as expected.
Is this a bug or something we’re doing wrong? FYI, the syndication service we’re using is called FeedWordPress.
If the external URL is being saved in any way by the WP site (in a custom field, for example) then the plugin can be configured to take that external URL and send that to Twitter in place of the WP url. If the information isn’t saved by the RSS feed importing tool, there’s really nothing that I can do to grab it.
Hi Joe,
Your plugin seems to be exactly what I’m looking for: I run a website which grabs RSS feeds from several websites, turns them into posts in WP, and now I need a plugin to output the link to Twitter. The reason for this post: your plugin is taking the WP post URL and posting that to twitter, when I’d prefer to have it redirect entirely to the external URL which is being grabbed by the RSS feed.
Is this possible with your plugin or are there any plans to incorporate this for a future request?
@Mark Roth Interesting…I don’t think that’s actually possible as I’ve arranged things. I didn’t consider the possibility of putting the URL somewhere other than the end of the Tweet; so it’s simply appended to the Twitter status update in every context. I’ll have to consider some re-writing to make that possible - but it would be a good thing to do!
Thanks for all the details, Tex! The WP-to-Twitter status update field should only be filled if you’re using the custom Tweet option; otherwise, it should remain empty, so that sounds fine. I have a feeling that I may have neglected to include the #blog# option in the XMLRPC operations in the plugin - I’ll check that, and if it’s the case, I’ll try and release an updated version ASAP!
another item - the link for cli is going through - just not the content of the post
thanks
Tex
one other point, in the actual post inside of wp, the field for the wp-twitter post is empty after the post is published, should it have the content of the post there?
Are their any permissions that need to be set to make this work?
thanks again
Tex
BTW - with the above comment, i sure clarify that wp->twitter is the only “active” plugin. I have other twitter plugins deactivated that are designed to do similar things
Although, when i first deployed this wp blog, it was initially the only one
just thought i should clarify
Thanks
Tex
When I use wp-to-twitter, it puts #blog# in the update on twitter instead of the actual post
the post is orininating from RSS2Blog using the xmlrpc function - or I assume that is what RSS2Blog uses
the post shows up fine into wp & when I run your diagnostics, it says that it is communicating fine with twitter so assume host isn’t problem, plus #blog# wouldn’t show up if that was the problem
So the connection is good between wp & twitter, but not getting the post included
Your plugin and Askimet are the only 2 plugins
Using 1.31 of yours on a 2.6.1 wp blog (can’t go any higher or RSS2Blog won’t work)
Thanks
Tex
I want each tweet to show BLOG — TITLE — URL automatically…followed by whatever I may enter manually on a post-by-post basis.
How do I do that?
Thanks for a neat plugin!
The URL shortening when Cli.gs isn’t used is actually being done by Twitter - Twitter autoshortens URLs using Tinyurl if they aren’t already short enough.
It’s possible that this is a problem with your server, but if so it’s fairly surprising - the plugin checks three different methods of getting the shortened URL from Cli.gs, and in order to get that error they ALL have to fail: Snoopy, cURL, and
file_get_contentsall need to unable to fetch the information.It could be an issue with your hosting company blocking API access. Either way, what you’ll want to try next is asking your hosting company about the problem to see if they can help.
Joe
Actually it does shorten the URL in the Tweet but it does not use cli.gs
Joe
Thanks for the fast response. When I run the test in WP on the Plugin is says
This plugin may not work in your server environment.
Failed to contact the Cli.gs API. Successfully contacted the Twitter API. Your server does not appear to support the required PHP functions and classes for WP to Twitter to function. Despite this test, you should try the plugin — the Twitter test API is a bit buggy.
However when I actually post to WP, it does send a properly formatted Tweet but does not shorten the URL. It tells me:
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.
For any update field, you can use the codes #title# for the title of your blog post or #blog# for the title of your blog! Given the character limit for Twitter, you may not want to include your blog title.
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.
If you see these errors frequently, please notify the developer.
You can see the output on Twitter at http://twitter.com/costigaj
Thanks again.
There are three possibilities, basically: either your server is not supporting the tools used to contact Cli.gs, or Cli.gs is not accepting your request.
Or the test is failing, of course!
Can you send me the exact error message you’re getting?
Joe
I just installed the plugin on my blog (WP 2.7.1) and it works, all except for the cli.gs part. I have the key and run the API test and it tells me that my server may not have all the necessary PHP modules. Is this something you have seen or is this something I need to bring up with the folks at cli.gs??
Thanks.
Thanks Joe,
Definitely can’t post with the plugin. Other plugins is a good idea, I’ll try deactivating those, maybe trying some new ones and see what I get. Thanks!
Ralph
Joe-
Not sure if I am having the problem you refer to in your last post but with my new installation I am unable to post to twitter with the plugin even though the cli.gs are being made and I get no errors.
My installation details are in my previous post of March 21, 2009 @ 3:35 pm.
Thanks.
It’s most likely an external problem of some sort — another plugin, for example, which is storing information in the same way. Since I haven’t made any updates to the plugin in a few weeks, it’s extremely unlikely that there was a time-delay on any problems!
Can you verify for me that you are now unable to post to Twitter using the plugin? (I’ve asked this question to everybody who’s mentioned this problem to me, but nobody has yet answered it.)
I am also having the same issue below. Plugin has been working great for months and today this just started happening. Any ideas why the username and password wouldn’t stick? Thanks in advance for any help.
Ralph
Hi Joe,
I have installed but when I try to enter my Twitter username and password in settings WordPress 2.7.1 changes them back to my WordPress FTP username and password.
Any idea how I can fix this problem?
Thanks Derek
Hi Joe-
Installed 1.31 today. WP is 2.7.1
Posts are not showing on Twitter but new url’s at Cli.gs are working fine. Tried re-entering password as suggested and that did not help. No error messages are being produced.
My plugins are-
Akismet 2.2.3
Excerpt Editor 1.3
FeedWordPress 2008.1214
Google XML Sitemaps 3.1.2
Hot Linked Image Cacher 1.01
Hybrid Hook 0.1
IntenseDebate 2.0.18
Nofollow Links 1.0.3
Social Bookmarks 4.1.1
WP to Twitter 1.31
Thanks!
If I add additional URL shorteners, bit.ly will definitely be among them. What I’ll probably do (eventually) is add several and have them available as choices - but that may be a while in coming!
Have you considered using http://bit.ly as an option for shortening urls? Their tracking/analytics is pretty amazing. way better than cli.gs. Love the plug-in, though! There’s not plug-ins that use bit.ly very well. If you could integrate bit.ly as well as cli.gs, I think you’ll have even more people using this
Just installed your plug-in, and it appears to be working very well. Is it possible to add code that would allow tweeting to multiple twitter accounts? My wife and I have several different twitter accounts that we would like our andthisiswhywedrink.com site to announce to when a new post is added. They are all our own accounts.
Hi Joe,
I have installed but when I try to enter my Twitter username and password in settings WordPress 2.7.1 changes them back to my WordPress FTP username and password.
Any idea how I can fix this problem?
Thanks
Derek
I would say there’s about a 99% likelihood that those problems are related to Cli.gs’ DNS issues from today. Should be resolved now.
Hello,
Great plugin, thanks! Today it started to act up tho, and I cannot find what might be the problem. The links submitted to cli.gs are failing and I get this error message in the admin panel of wp. I rechecked everything and reentered everything but it is still showing the error and it is not shortening the urls using cli.gs. Any ideas what might cause this?
Thanks in advance
Dimi
I’m afraid there’s no workaround for this yet, but I’m looking for the problem. I have an idea what it might be, but I’ve been unable to find any evidence for it…so it’s still uncertain when I’ll have a solution.
Sorry about that!
I’m having the same issues as a few people here have reported. My settings page is also blank. Is there a work around for this issue? Is there anything in the editor to be edited with our Twitter account info to get this working until a solution can be found?
Hi Joe..
I just installed your plugin to a wordpress MU version and it’s not sending anything to my twitter account .. are there known issues about this not working on wpMU? I have about 10 or so sites that have published at least 1-2 posts since I’ve activated the plugin, yet nothing has been sent to my twitter account.
Thanks in advance!
HART
The only difference between the two installs as of now are the theme and the install method. Both accounts have many other plugins installed and working fine. My personal install works and was installed as a part of my hosting company’s servers. Their specifics I don’t know but my host is DreamHost, and was installed with a one click cron job. The work WP was installed by myself on one of our own servers running IIS. Everything else works on both blogs, just not this single piece. I can’t help but think it might be a php extension that needs to be configured or what. If it would help I could set you up an account in both WPs to test and see what’s different between the two.
Well, actually I haven’t been working on that - I thought it was a pretty isolated problem. Can you tell me anything about the differences between your WP install and the one on your company’s blog? This is a pretty strange problem, and I don’t have a lot of ideas what might be going wrong, so anything you can tell me is potentially helpful. You have the advantage that you can look at both a situation where it works fine and one where it doesn’t; so I’m hoping that’ll help me find some clues.
Hi I love this plugin. I use it on my personal WP blog flawlessly. Recently, I’ve been tasked with installing WP for my company blog and wanted to use this with my company’s twitter account. However, I’m getting the same error where the plugin installs and activates fine, but the settings screen comes up blank. I’ve tried deactivating and activating to no avail. I know you’re working on it but I thought I would mention it to you again.
Well, what helped Nina was simply deactivating the plugin and reactivating it. The setting interface came right back after doing that. The same trick didn’t work for Wal, however, so that may not be a perfect solution!
The patch I had didn’t solve the problem for either person, unfortunately.
Hey Joe,
It seems that i have the same problem as Nina and Wall have, could you send me the fix to try that?
Totally love your plugin. I tried some of the other twitter plugins before I came acorss yours. Your is the best by far. Loving all the features - especially allowing it not to update edited posts and the fact that it updates instantly!! Thanks!!
I didn’t add additional text tags simply because you can customize each individual status update to say exactly what you want. It’s not particularly difficult for me to add additional options, but with the 140 character limit something would probably be truncated in most cases.
On the alternate URL shorteners - it’s on the list, dependent on user requests. If the demand is high enough, I’ll add it.
It would be great to have a chance to use more text from blog post than only a title, for example: #tags# or #post#. Is this something you can add easily?
Another thing is to use some different URL shortener if possible…
It’s a thought. Selectable URL shorteners aren’t really a high-priority feature, but if there are a lot of requests it might happen at some point.
Hi,
Great plugin, thanks.
Any chance you can make it optionally use tinyurl instead of cli.gs ?
Thanks
Hi Joe,
Yes, please send me the change, I will try it.
Thanks in advance!
Wanted to show you what error message I get at the top
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.
Sounds good with the update. Thanks.
Meanwhile I’ll give PHP a go.
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!)
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?
Thanks, Robert! I appreciate that.
It was certainly a relief to finally identify the problem!
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.
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.
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.
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.
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.
Thank you Joe ! I’ll be waiting for the next update
I think that’s a great idea; and I’ll definitely try and put it into the next update. Thanks, lowett!
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 ?
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.
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
Joe, I don’t know exactly but probably June or later…. gives you time to try a few things!
Ah, yes…my chief frustration so far. When are you leaving? I’ll try and get it done before then! No promises, though…
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
Saw the Minnesota Horsemen’s Directory… nice!
Any further news about auto-tweeting on xml-rpc?
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.
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?
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
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
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
Doesn’t work!
it don’t work, no tweet
only when i update the post it works, but without a link
make useful error messages!!!
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…
nothing is posted to the twitter account, and a clig is not generated.
i updated to php5 today, would that help?
Do you mean that the custom text doesn’t post, or that when you use a custom tweet, nothing is posted?
Great plugin, only complaint is that my custom tweets never post. Other than that perfect.
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!
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?
usefull plugin, i use it !!
i will review it in my blog
thankz Joe, have a nice day n Good Luck !!
Thanks for noticing that, RadPoe! I wonder how that happened…I’ll get those added back into the package ASAP.
I’m glad you raised the 404 issue…
Thought I was seeing things.
R
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
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?
Always fun finding a mistake right after making an update…thanks, Sean!
Nevermind, I see you’ve already addressed it! Thanks!
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?
Thanks for letting me know, John. I’m not going to call that good news, but it’s helpful!
Yeah I get the error when posting as well - it creates the clig but can’t post to twitter
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!
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.
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.
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.
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.
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.)
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?
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.
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.
That seems like a great idea — I’ll get on it!
Thanks,
Joe
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
Then I wish I knew why it was posting mine.
I guess I’ll have to figure something out! Thanks.
I just posted and although it created a clig it didn’t post to twitter. There was no error.
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!
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.
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!
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,fputsor thecURLpackage are available on the server to query external URLs.Best,
Joe
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.
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!
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.
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.
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.
ok thanks - this is the 2nd time it happens in 3 days though… I’ll let you know if it happens again.
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!
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
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.
I don’t know why it doesn’t post any update to my twitter after i posted.
Thanks for mentioning that! I obviously failed to anticipate that - I’ll get that fixed as soon as possible.
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…
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..
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
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
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…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.
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!
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…
Cool. I’ll keep an eye out for your updates. Thanks muchly!
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.
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.
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!
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.
@sikosis No, you wouldn’t have. That’s a known problem, and I’m working on it.
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
Oops! Meant to include a link to an image of the error messages I can’t clear.
@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!
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.
Thanks for the reply Joe.
Will be awaiting the update.
Thanks again.
Regards,
Vineesh
Yes, scheduled posting isn’t working. I don’t know why yet; I’m working on it.
Best,
Joe
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
@Bill -
An XMLRPC publishing option will be added in the next release, which will hopefully be finished later today!
WP to Twitter doesn’t seem to send out tweets when I post via xmlrpc…
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..
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.
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!
Hey,
Thanks, I hope you can find a solution,
btw. am I the only one having this problem ?
I’ll be working on this this afternoon, so hopefully I’ll have some news for you then, Tony.
Best,
Joe
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
Well i hope you find another solution
Thanks
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?
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
Hi, Tony - can you tell me what version of the plugin you’re using and what version of WordPress you’re using?
Best,
Joe
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.
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!
Where’s the “miracles happen” button you have to push in order to get the plugin downloaded?
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!
It doesn’t seem to be working at all since I upgraded to WordPress 2.7
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…
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!
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!!
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!
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,
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!
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!
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
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.)
Hi Joe,
Now I’ve upgraded to 2.6.5 and deactivated all other plugins but Akismet.
Still no luck…
Lucky
//////////////
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
///////////
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.
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
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
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.
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
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
@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?
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 ?
Hi Joe,
Thanks for responding…
What sort of time frame are we looking at for the next release?
Regards,
R
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
Hi,
Before I try your plugin I am curious whether it handles scheduled posts?
R
That’s a great suggestion, Valorie - I’ll definitely put that in my list of things to add in the next major revision.
Thanks!
Great plugin. It works wonderfully for me. I was wondering if future versions would allow us to decide which post categories to include?
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
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.
Im using 2.6.3.
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?
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?
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!
Just installed it. Hope it’ll work
[But it seems to work fine for a friend of mine]
hi. Thanks for plugin
perfect.
Regards
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.
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
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( rel="nofollow" "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;
}