Twitter Post
By Lew Ayotte | July 4th, 2009 | Published in Projects | 89 Comments
I’ve noticed a number of people promoting their blogs and blogposts on Twitter and I thought to myself, “It would be great if there was a plugin in Wordpress that automatically tweeted a new blog post.” I did a quick search and the only solution I found was called TwitterPoster and apparently a lot of people had been frustrated with the developers attempt to add spam into their tweets/posts. So I wrote this one (spam free!).
Since originally writing this plugin, a number of similar plugins have been released. Hopefully the new features I added will make this version stand out.
Download
Latest Version (Tested on Wordpress 2.9.1 but should work on 2.6 and up)
What I Changed
v1.4.1
- Fixed issue with not stripping slashes properly from default tweet format option
- Removed unneeded option code for efficiency
- Updated str_ireplace function for better PHP4 compatibility
v1.4.0
- Discovered WP_Http class (since WP2.7) which makes life much easier for everyone, but this bumps the support up to start at WP2.7)
- Removed cURL requirement, switched to WP_Http API
- Removed Twitter API Classes, switched to WP_Http API
- Changes in cURL requirement required modification of init() function
v1.3.5
- Moved URL shortening functionality for improved efficiency
v1.3.4
- Moved exclusion check for efficiency
- Fixed bug in scheduled posts, if a secondary account schedules a post and logs out, it would not have tweeted the message
v1.3.3
- Had a typo when checking the PHP Version for PHP5 functionality
v1.3.2
- Fixed bug that prevented TwitterPost from tweeting when setting a custom tweet on a Post page
v1.3.1
- Fixed bug with category exclusion logic… accidentally brought it back in with version 1.3.0
v1.3.0
- Cleaned up and remove 139 lines of code
- Fixed second bug with category exclusion logic
v1.2.2
- Fixed bug with category exlusion logic
- Added fullthrottledevelopment profile as contributor
v1.2.1
- Fixed PHP cURL Requirement Error Message
- Added PHP cURL Requirement skip if Twitter Friendly Links is already installed.
- Added ability for WP Admin to set Twitter Post to tweet from all Author accounts whenever a post is published.
v1.2.0
- Changed default tweet from “Blogged %TITLE%: – %URL%” to “Blogged %TITLE%: %URL%”.
- Added check to make sure PHP Curl is installed.
- Fixed bug that caused Twitter Post to tweet when adding new page.
- Added ability to specify which categories to include/exclude in tweet.
- Added ability to exclude a post before publishing it.
- Added support for using Twitter Friendly Links instead of TinyURL links when TFL plugin is activated.
- Added support for multiple author twitter accounts and default twitter account.
v1.1.1
- Fixed support URLs
v1.1.0
- Fixed Default Tweet typo (”blogged” instead of “bloggged”).
- No longer publishes to twitter when you update/edit an old post.
- Added feature to customize tweet per post using Custom Fields.
- Changed project URL to http://fullthrottledevelopment.com/ – my new business venture.
v1.0.0 – Initial release
- Allows custom tweet formatting with %TITLE% and %URL% tags.
Installation
- Download and uncompress rf-twitterpost.zip
- Upload the entire rf-twitterpost directory to your WordPress plugins directory
- Activate the plugin
- Configure your options
Possible Future Features
- Username/Password verification before save.
- Ability to add post excerpt to tweet.
- Possibly switch to Twitter’s OAuth API.
- And as always, we listen to your requests…
July 6th, 2009 at 12:45 am (#)
Thanks for the “no posting when editing” feature. Definitely useful!
July 6th, 2009 at 8:19 am (#)
Mosh,
No problem, I thought it was a pretty important feature myself
.
Lew
July 10th, 2009 at 1:31 pm (#)
This version does indeed stand out for its focused purpose and simple elegance. Thanks for buying some time back for me. If you use QuickBooks in your business, perhaps I can buy some time back for you.
July 10th, 2009 at 3:03 pm (#)
Thanks Les, let me know if you have any trouble with it. I’ll probably be putting out another update for it… someday
.
Lew
July 15th, 2009 at 7:00 am (#)
Does not work. I have edited a post and placed it in the format (%TITLE%: – %URL%), but fails to send Twitter ?¿?¿?
July 15th, 2009 at 7:57 am (#)
Aeroestudio,
What version of WP are you using? Are you sure you’ve put in the correct Twitter credentials?
Thanks,
Lew
July 15th, 2009 at 10:40 am (#)
Hi Lew, if Twitter credentials are correct and I am using WXPSP3, though now that I say I have not tested in Firefox, so you try and discuss the results.
July 15th, 2009 at 10:47 am (#)
Tested in Firefox, not working in Wordpress 2.8.1
July 15th, 2009 at 11:20 am (#)
Hey Aerostudio,
The browser shouldn’t make a difference… but for what it’s worth, I just posted a new blog post w/ FF3.0.1.1 and WP2.8 with no problems. When I was testing before release, I was using FF3.5 and WP2.8.1. I’ll upgrade this site to 2.8.1 to make sure it works. There is always the chance that another plugin is conflicting with this one. What plugins do you have installed?
Thanks.
Lew
July 15th, 2009 at 11:58 am (#)
Ok, Gracias
Contact Coldform
Dean’s FCKEditor
flickrRSS
KnxDT Bookmarks
Lightbox 2 Plugin
NextGEN Gallery
Pagebar2
Post Notification
the_excerpt Reloaded
WeatherReport
WordPress Database Backup
WP-ContactForm
WP-SWFObject
WP Security
July 15th, 2009 at 3:12 pm (#)
Great plugin, thanks a bunch!
Just a question regarding the display on Twitter.
Currently it reads (Blogged %TITLE%: – %URL%)
If I take “Blogged” out of Tweet format, will it just display the title and the URL? That would be great!
July 15th, 2009 at 9:27 pm (#)
Marcio,
Yes, you can make that format say whatever you’d like.
Enjoy,
Lew
July 16th, 2009 at 8:34 am (#)
Aerostudio,
I installed these plugins on a test site (WP 2.8.1):
Dean’s FCKEditor
flickrRSS
KnxDT Bookmarks
Lightbox 2 Plugin
NextGEN Gallery
Pagebar2
Post Notification
the_excerpt Reloaded
WordPress Database Backup
WP-ContactForm
WP-SWFObject
I was unable to find these plugins on extends:
WeatherReport
Contact Coldform
And WP Security gave me fits when I tried to active it, so I left it deactivated.
Anyways, I activated them all, created a new post, published it and it sent it to Twitter.
I would say it’s either some custom code in your theme that is blocking it or perhaps a setting from one of those plugins that I didn’t set.
Sorry.
Lew
July 17th, 2009 at 1:09 pm (#)
Hey, do not worry, I try to see what happens. Thank you for your work
July 21st, 2009 at 8:57 pm (#)
Hey – does this support future published posts?
I tried Twitter tools yesterday – and it didn’t. Only worked when I directly published a post immediately. (besides other errors on the site).
Please advise…
July 21st, 2009 at 9:02 pm (#)
Hoboken,
Yes, this supports future published posts. I used that feature today in fact
. Let me know what you think or if you have any trouble.
Thanks.
Lew
July 21st, 2009 at 11:18 pm (#)
I’ll give it a shot… when I did twitter tools last night – I woke up to an inbox full of users emailing me about the error – not a nice way to wake up.
July 25th, 2009 at 1:27 am (#)
Hi–Is there a way to make this publish like a hyperlink?
A la (href)Title(/href) (with carat brackets, and the usual kit and caboodle? I’m new to twitter but am running a sidebar that publishes twitter posts, and I’d like it to just give (url)Link(/url) instead of Link Title: Tinyurl. Thanks!
July 25th, 2009 at 8:10 am (#)
kls81,
Unfortunately that is one of the short-comings of twitter. It autodetects URLs as links, but you cannot give the link a “text” like in HTML.
Lew
July 29th, 2009 at 5:07 pm (#)
Great plugin, thanks!!
Just a question regarding the display on Twitter.
%TITLE% and %URL% is working fine. Is it possible to include %tags% as well?
Thanks
Simon
July 29th, 2009 at 7:50 pm (#)
Hey Simon,
I could add that as a possible future feature. Are you thinking just pull all the tags set for that post? Or were you thinking something else?
Thanks,
Lew
July 30th, 2009 at 9:08 am (#)
Hi Lew
Pulling the tags set for the post would be fine.
Thanks,
Simon
August 2nd, 2009 at 11:39 am (#)
Great Plugin! Is it a simple process to integrate ‘Twitter Friendly Links’? – http://kovshenin.com/wordpress/plugins/twitter-friendly-links/
Is there a quick hack? Thanks!
August 2nd, 2009 at 12:05 pm (#)
Muay,
The script automatically converts your URL to a TinyURL if it is too long for a tweet. I will be adding is a bit.ly interface so people can track their clicks better. Does that meet your needs?
Lew
August 3rd, 2009 at 11:08 am (#)
Cheers for your reply Lew… I would rather use my own domain (links to my domain) instead of relying on 3rd party.
Maybe an option to choose one of the many short url services available, could be implemented?
August 3rd, 2009 at 11:47 am (#)
Muay,
I can definitely see the benefit of using your own domain as a url shortening service. I’ll look into hooking the twitter-friendly-links plugin and see what I can come up with. I’m planning an update soon… if only there were more than 24 hours in a day
.
Lew
August 4th, 2009 at 7:05 am (#)
Awesome Lew
August 12th, 2009 at 11:47 am (#)
it seem very usefull tool
August 22nd, 2009 at 4:17 pm (#)
Thank you for the plugin, just found it today. I’m using 2.8.4a mu vs.
For some reason the plugin would not activate until I chose ‘activate sitewide’ which is fine with me as that is what I wanted anyhow.. all my blogs having the ability to use your plugin.
As I am using the ‘pretty urls’ in wpmu, it would be very nice if you did indeed combine your plugin with the friendly url twitter plugin above, or write your own addon.
As most of my titles are very long, I found that my twitter feed was cutting off most of the urls. The only ‘temp’ solution was to remove the title, as it’s the same as the link anyhow.
thank you again
August 22nd, 2009 at 4:58 pm (#)
Thanks Shawn, developing these plugins take a lower priority than actual paying work. But we have some really good ideas for the next update. Hopefully we’ll be able to squeeze in some extra time
.
Lew
August 25th, 2009 at 1:34 am (#)
I’ll add another vote for integration with Twitter Friendly Links. Thanks for the great plugin. I like the simplicity — it does exactly what I want (notification on twitter of a new blog post) and nothing more (except for the friendly links, of course
.
August 29th, 2009 at 7:00 am (#)
[...] si alguien quiere seguirme a través de ese servicio. Hacerlo es muy sencillo gracias al plugin: TwitterPost, existen otros plugins más completos pero yo buscaba algo [...]
September 2nd, 2009 at 6:29 am (#)
I´m using Wordpress 2.8.4 DE and installed your plugin 1.1.1 DE, set the options but nothing happens when I blog a new post, even if I manually add a tweet format.
I cannot find the above mentioned option ‘activate sitewide’ as well. What shall I do?
September 2nd, 2009 at 8:34 am (#)
Bernhard,
Double check your twitter username and password. I have tested the plugin on WP 2.8.4 and have not had any problems with it. Although you may have a plugin that is preventing it from working… but I would start with erasing your UN and PW and typing them in again.
The “activate sitewide” option is only for WordPress MU (Multi-User).
Lew
September 2nd, 2009 at 9:05 am (#)
Didn´t work wether with my email-address nor with my username.
Beside Twitter Post there is one more Plugin running: WP-SpamFree 2.1.0.7 DE.
For another test I deactivated WP-SpamFree but then I got the following message while publishing:
Fatal error: Call to undefined function: curl_init() in /mnt/web7/13/31/51019931/htdocs/blog/wp-content/plugins/rf-twitterpost/rf-twitterpost.php on line 282
Do you have any idea for me?
Best regards
Bernhard
September 2nd, 2009 at 11:51 am (#)
Bernhard,
Ah, it sounds like you might not have cURL installed/enabled for PHP on your web server. Do you know which version of PHP you are using? An easy way to test is by creating a file named “phpinfo.php” with
< ?php phpinfo(); ?>for content. Then browse to that page in your browser and it should tell you if cURL is installed.Lew
September 7th, 2009 at 9:37 am (#)
[...] TwitterPost [...]
September 7th, 2009 at 11:35 pm (#)
Hey All,
I just submitted the latest revision of Twitter Post.
These are the things I’ve updated:
* Changed default tweet from “Blogged %TITLE%: – %URL%” to “Blogged %TITLE%: %URL%”.
* Added check to make sure PHP Curl is installed.
* Fixed bug that caused Twitter Post to tweet when adding new page.
* Added ability to specify which categories to include/exclude in tweet.
* Added ability to exclude a post before publishing it.
* Added support for using Twitter Friendly Links instead of TinyURL links when TFL plugin is activated.
* Added support for multiple author twitter accounts and default twitter account.
September 8th, 2009 at 3:46 pm (#)
Hey, I just updated my Wordpress to 2.8.4 and then tried to install your plugin.
But the plugin won’t activate.. it says it’s giving a “fatal Error” with message: “This plugin needs to be installed on your server in order to run properly.”
what am i supposed to do? i’ve tried both the automatic install and the old-way (ftp upload)..
thank you
September 8th, 2009 at 4:53 pm (#)
Paolo,
Apparently, I need to fix that message to be a little more clear. What that is doing is check to see if PHP Curl is installed. It is required to get the TinyURL URL for the tweet. So, basically the answer is, you need to have PHP Curl installed. But I’m going to make a small update tonight that will require Curl only if you don’t have Twitter Friendly Links plugin activated. So, if you don’t have Curl, or don’t know how to install it, wait a day or so for the next revision and try it with Twitter Friendly Links. Does that make sense?
Thank you.
Lew
September 9th, 2009 at 11:01 am (#)
I noticed in the past week or so that the Twitter Post tweets are missing the URL. Since I don’t post daily, I’m not sure exactly when the problem occurred, but for me I just noticed last weekend. Prior to this, the plugin was working fine.
I’m an running WP 2.8.4 and TwitterPost 1.2.0. Any suggestions on how to resolve this will be greatly appreciated!
John
September 9th, 2009 at 11:18 am (#)
John,
I suspect the problem may be related to the size of the tweet. What do you have your Tweet Format set to for those posts? Since it can only be 140 characters, if you have too much in your tweet format the script has to cut out some stuff if it gets too long. This is how it should work:
Script gets the tweet format: (i.e. “blogged %TITLE%: %URL%)
Script checks to see if %URL% was used (in our example it returns true)
Since v1.2.0 Script checks if Twitter Friendly Links is installed, if so, it uses that Twitter Friendly URL otherwise it gets a TinyURL.
Script determines the length of the URL.
Script calculates the length of the tweet with URL (minus “%URL%” characters).
If this value is less than (or equal to) 140 characters, then it will replace %URL% with the new URL.
If this value is greater than 140 characters, it will remove %URL% without replacing it.
Then the script checks to see if %TITLE% was used (in our example it returns true)
Script calculates the length of the tweet with posts’ title (minus “%TITLE%” characters).
If this value is less than (or equal to) 140 characters, then it will replace %TITLE% with the post’s title.
If this value is greater than 140 characters, it will remove %TITLE% and replace it with a substring of the title (plus “…”).
Finally the script double checks that the tweet is less than (or equal to) 140 characters, if so it will post the tweet.
Does this help?
Thank you,
Lew
September 9th, 2009 at 7:09 pm (#)
Hi Lew,
Thanks for the reply!
The two tweets that it failed on were 61 and 46 characters (including the :- after the title). So it’s inserting the title and then the :- characters but leaving off the URL.
I don’t have Twitter Friendly Links installed, so I guess it should be using TinyURL, which is was successfully using before.
My tweet format is: %TITLE%: – %URL%
That is in the main Twitter Post Options. I do not have any Twitter Post users setup since I am the only one posting at this time.
I can try de-activating and re-activating the plug-in, but I’m not sure what else I can try.
Thanks,
John
September 9th, 2009 at 9:49 pm (#)
Hey John,
The only other thing I can think is that when it tweeted those posts the script couldn’t contact the TinyURL service or contacting TinyURL timed out, so it tweeted an empty string for the URL. I’ve never actually seen that happen and am not sure how I can replicate it to see what it would do. For what it’s worth, I just posted on my personal blog (WP 2.8.4 w/ Twitter Post 1.2.0) and it worked fine. Have you tried it since the two failures?
If you want, you can go into the plugin code rf-twitterpost.php and edit line 518: “$timeout = 5;” change the number to 10 or 15 (or 30) – the number is in seconds.
I’m planning another small update in the next few days. I’ll probably look into checking to see if this timed out and evaluate what to do if it does timeout.
Sorry about that.
Lew
September 10th, 2009 at 9:59 am (#)
Hi Lew,
I haven’t posted in two days but I will try again today. I checked my recent posts and it looks like the URL was there in a 9/01 post, but was missing from posts on 9/05 and 9/08.
Also, I noticed your mention of Twitter Friendly Posts so I looked that up and really like the idea of a shortened URL using my domain. I installed it and will test later today and let you know the outcome.
Thanks again for your help!!
John
September 10th, 2009 at 11:00 am (#)
Hi John,
Another good thing about Twitter Friendly Links is that it doesn’t require connecting to an outside service (like TinyURL). So it should *always* work… at least, that is the hope
.
Lew
September 11th, 2009 at 4:08 pm (#)
Hi Lew,
I just wanted to let you know that things are working fine since I installed the Twitter Friendly Links plug-in.
Thanks again for your help!!
John
September 11th, 2009 at 4:44 pm (#)
Great to hear John. Keep us updated if you have any trouble.
Thanks.
Lew
October 19th, 2009 at 12:24 pm (#)
Lew… having some problems.. I have your plugin installed on 2.8.4 and the Twitter Friendly links plugin… both activated with no problems… however, when I create a post, I have to manually get it to post to Twitter… it will not automatically post… is there something I am missing… nothing was changed and I am the only user… also, the BLOGGED does not show up when posting to Twitter either… just the title and URL and I like I said, I have to manually post it thru the link which takes me to the Twitter Login where I must Login and update/post my tweet… Something’s not right here and I can’t figure it out… Got any suggestions???
Thanx
October 19th, 2009 at 2:03 pm (#)
Hi Linda,
In your settings, go to Twitter Post Options. Make sure you have your correct Twitter username and password. You can also change the default Tweet Format there. Also, are you only including certain categories or excluding any? Has it ever worked or did it just stop working?
The link you’re talking about to manually tweet a post is not part of my Twitter Post plugin. So I’m not sure what is wrong with that. Although, that would be a good feature to add to mine
. Maybe you have another twitter plugin that is conflicting with mine? What are all the plugins that you have installed?
Lew
October 20th, 2009 at 11:59 am (#)
Hi Lew…
I deactivated the plugin and then reactivated the plugin this morn and it worked… =)
I had originally installed the plugin and then set everything up… then after reading the comments here decided to add the Twitter Friendly Links plugin and activated that… Both plugins installed fine but as I said it wouldn’t automatically post… (settings were correct)… so maybe it’s just the way you install and set up? Beats me…
The manual posting is obviously thru the Twitter Friendly Links plugin… it has a box in the admin giving you the links with a “tweet this” link…
Anyway, just glad to have it working… thanx for a great plugin!
Linda =}
October 20th, 2009 at 4:25 pm (#)
Great Linda, Glad to hear it’s working
.
It may have been that Twitter was down when it was trying to tweet, too. You never know with Twitter these days
.
Lew
November 23rd, 2009 at 4:44 am (#)
I upgrade to the latest version and there’s a bug with the link. The link to the article, just after the title, is cutted.
November 23rd, 2009 at 8:59 am (#)
Maudit,
Do you have an example of what it is doing? Is the link a TinyURL or a Twitter Friendly Link?
Thank you.
Lew
November 24th, 2009 at 1:42 pm (#)
Upgraded and now it’s not posting to Twitter again… this is very frustrating… ={
November 24th, 2009 at 1:54 pm (#)
Dactivated, reactivated… still not working… using Twitter Friendly links… WP 2.8.5… I’m ready to dump it and go back to the old one, at least that was working… and all my settings are correct. Everything was posting fine till I updated. Something is not right here.
November 24th, 2009 at 2:03 pm (#)
Does this work with PHP 5?
November 24th, 2009 at 2:59 pm (#)
Hi Linda,
Yes, it does work with PHP5. It should work fine on 2.8.5, I know I personally use it on 2.8.4 and 2.8.6 (both on PHP5). How do you have it setup? I may have missed something on the last update. Do you have the Admin user setup to tweet? Any additional users?
Thank you.
Lew A
November 24th, 2009 at 3:26 pm (#)
Everything was working fine… all settings are accurate… the only thing that changed was the update… I even reinstalled it manually to see if the auto update was the problem… it is not posting and I am the only person and author in this site… Nothing changed on the blog except your plugin update which will now not work automatically… everything was working fine before… no problems… at this point I’m going to dump the update and reinstall the older version… hopefully that will work again. Something is wrong in the update, makes no difference whether I deactivate and reactivate… reinstall … whatever… it won’t work automatically. Only way it will tweet is if I use the Twitter Friendly Link post manually.
November 24th, 2009 at 3:29 pm (#)
Please let me now if it starts to work again with the older version.
In the meantime, I’ll dig to see if I can’t figure it out.
Thank you.
Lew
November 24th, 2009 at 3:36 pm (#)
I just re-installed the 1.2.2 and it’s working fine… it’s definitely the update… got a bug in there somewhere…
Good luck hunting…
November 26th, 2009 at 1:26 pm (#)
Updated my server to PHP 5, I thought the provider already updated it from 4 but he didn’t… Now the plugin isn’t working again… tried both 1.2.2 and 1.30… activated and reactivated… still won’t post. Any ideas?
November 26th, 2009 at 1:33 pm (#)
Linda, do you know if the cURL module is installed w/ PHP5? If you’re not sure, create a php file in the root of your directory with < ?php phpinfo(); ?> in the file. Go to it in your web browser and search for “curl” there should be a section that says it is enabled.
Let me know what you find. That should be the only dependency needed.
Lew
November 26th, 2009 at 8:28 pm (#)
Linda you are right. This thing simply refuse to work!
November 26th, 2009 at 10:51 pm (#)
Dori,
What issue are you seeing? There may be something going on with Twitter, too. I have verified that it is working on several sites with varying version of WordPress and PHP.
Meanwhile, the Twitter Firefox (TwitterFox) extension I use is not working.
Thank you.
Lew
November 27th, 2009 at 6:32 pm (#)
So far it looks ok but I would like to suggest that you clarify your description on WP.org a bit. The Twittering isn’t really user specific. In other words, my interpretation was that when a particular author added a new WP post that their Twitter status – and only their Twitter status – would be updated.
But what you really have is a list of Twitter accounts that is user independent. It really just says, if there’s a new WP post fire Twitter updates off to these accounts. Yes, there is some category targeting but it’s not really author specific in any way, correct?
November 27th, 2009 at 6:43 pm (#)
Hey Mark,
Actually it is author specific (or at least can be). Let’s say you have three authors; A, B, and C. If each one enters their twitter usernames and credentials into Twitter Post User Options (Users -> Twitter Post User Options) it will only post to that user’s twitter account AND the Admin account (if it is setup under Settings -> Twitter Post Options). There is one caveat, if the Administrator has decided that if anyone makes a post it should post to all twitter accounts, then he can check the option to “Tweet All Authors”. If he has checked this box, then whenever anyone posts, it will post to all available twitter accounts. If that box is not checked, then it will only post to the individual user’s account (and the admin’s user account) if they are setup.
Does that make sense?
Lew
December 1st, 2009 at 9:51 am (#)
Hi Lew
cURL is installed, I upgraded to WP 2.8.6 but it stll won’t auto post… trying it on another blog… will keep you updated.
December 9th, 2009 at 11:30 am (#)
Linda,
I just emailed you to let you know that I submitted an update for TwitterPost. There was a bug for in how the category exclusions worked. If you were using category exclusions than that might explain why you were having a problem.
Thanks,
Lew
December 11th, 2009 at 2:08 pm (#)
Still not working and I have updated to the latest version 1.3.1 with WP 2.8.6… at this point i’m getting very frustrated and need to find an alternative cause yours is obviously not going to work or auto post and I need a plugin that will autopost.
Thanx anyway.
December 11th, 2009 at 2:53 pm (#)
Hey Linda,
Very odd… you can try Twitter tools (http://wordpress.org/extend/plugins/twitter-tools/). I know that plugin autoposts. Let me know if that one works for you.
Lew
December 18th, 2009 at 2:40 pm (#)
Se puede remover el plugin sin afectar el sitio?
December 18th, 2009 at 2:45 pm (#)
sí
December 20th, 2009 at 5:07 pm (#)
“Actually it is author specific (or at least can be). Let’s say you have three authors; A, B, and C. If each one enters their twitter usernames and credentials into Twitter Post User Options (Users -> Twitter Post User Options) it will only post to that user’s twitter account AND the Admin account (if it is setup under Settings -> Twitter Post Options)”
Oh. I see. (I think). My interpretation (read: hope?) was that all these settings and Twitter accnts are something the Admin would set up as part of Admin’ing the blog. In other words, the admin would decide who could Twitter (via the blog) and the admin would config the settings for each Twitter user.
Looks like I have some coding work to do. If you have any suggestions on how I might make this more of an Admin only plugin I’d appreciate it.
December 20th, 2009 at 5:23 pm (#)
One more question (please) – before I invest time trying/testing this myself. When a WP user enters their Twitter credentials – does that Twitter accnt get a tweet of all posts (ignoring the category parms for a moment) or just the posts entered by that particular user?
January 11th, 2010 at 8:18 pm (#)
[...] – another way is with a website like http://twitterfeed.com Twitter Feed as well as the plugin TwitterPost allows you to automate your postings and send them directly to your Twitter accountThe address/URL [...]
February 8th, 2010 at 10:42 am (#)
Just an update… due to other commitments I haven’t changed out your plugin.. but what I’m finding interesting is that SOMETIMES it will automatically publish after doing a post, and then on another post an hour later it won’t… somewhere there’s a bug and this has been happening on more than one site/server… very weird. Altho most of the time I have to manually publish to Twitter, every now and then I go to publish and find that my post has been automatically entered already. I’m using the latest versions of both your plugin and WP. You’ve got some major bugs somewhere… just thought you’d like to know.
February 8th, 2010 at 4:56 pm (#)
Hey Linda,
Your situation is very odd… I personally have TwitterPost installed on dozens of websites and have not had any issues. There are a few reasons why it wouldn’t post to twitter. One is if Twitter was down… but it’s unlikely that is the cause to all your problems. The second problem would be if your website is using up all your Twitter API requests in a given hour… but I’d think it’d post more often than you’re saying that it does. The third problem would be if your server is timing out when it’s trying to tweet the message. The default is set to timeout after 5 seconds. Maybe I’ll add an option that if the status update timeout is reached it will email the admin.
I’d still like to see if Twitter-Tools works for you, or if it is just my plugin not working for you. I’ll keep my eyes peeled for bugs in the code and will submit an update if I find any.
Thanks.
Lew
February 8th, 2010 at 8:56 pm (#)
Hey Linda,
I was just messing around trying to see if I could find any bugs. I noticed that when you set a custom tweet format on the Post Page (not the Twitter Post Options). Have you been customizing the tweets individually? This would explain why you have been having a problem. You should see the update in your plugins admin soon.
Lew
February 9th, 2010 at 3:15 pm (#)
[...] RF-Twitterpost (WordPress plugin page) This plugin was written by my good friend Lew. Twitterpost publishes WordPress post information (title, url) to twitter. Like FacePress, Twitterpost allows the author to choose how he or she wants the tweet to look. [...]
February 11th, 2010 at 4:23 pm (#)
Hey Linda,
I found another bug that might apply to you as well. If a secondary user was logged in, created and scheduled a post and logged out, it would not tweet the post. I’ve fixed it and submitted to the repository. Let me know how it goes.
Thanks.
Lew
February 13th, 2010 at 4:00 am (#)
it is not working for me. i am using wordpress 2.9.1
February 13th, 2010 at 8:41 am (#)
Recipe,
What version of PHP are you using? Have you tried re-entering your credential, to make sure they are correct? Are you posting as the admin user or a secondary user? What settings do you have set in the admin Twitter Post settings (and the user Twitter Post settings)? Do you have Twitter Friendly Links activated? Do you have cURL is activated for PHP?
Thank you.
Lew
February 16th, 2010 at 10:47 pm (#)
Hi, love your plugin it is extremely useful. I wanted to say that you did a really good job on this plugin!
Thank you for making it
there is one problem though, it seems that whenever I post a draft on wordpress, that gets twittered too @_@
I can just manually delete the twitter posts though so it’s all good. It would be awesome if drafts don’t get sent. I have the latest version of wordpress and the plugin.
Love your plugin!
Thank You! Kurt
February 17th, 2010 at 1:33 am (#)
Thanks Kurt,
Which version of the plugin are you using? Are you saying that when you “Save as Draft” it is sending a tweet?
Lew
February 18th, 2010 at 12:54 am (#)
o.0 now that I checked on it there was an update!
It works perfectly now! It’s awesome, thanks again for the great plugin!
February 18th, 2010 at 6:35 am (#)
I am running Wordpress 2.9.1 and after downloading the plugin an installing the plugin it caused my weblog to break after clicking the activation link in wordpress. Pages went blank and even blogpage was gone. I had to manually remove the plugin from the plugin folder to get my blog repaired. Anyone else had these sort of problems?
February 18th, 2010 at 9:30 am (#)
Ramon,
I’m going to send you an email, but I’d like to know which plugins (including their versions) you have activated… as well as which theme you are currently using. I’ve tested Twitter Post on every WP update and have never seen a problem like that.
Thank you.
Lew A
February 20th, 2010 at 2:22 pm (#)
[...] decided that the easiest, most straight forward Twitter posting plugin is Twitter Post. I couldn’t get any of the others to work consistently. I also started to make some style [...]