Tweetly Updater

Tweetly Updater is a Wordpress plugin that updates Twitter when you create or edit a blog entry. It uses the bit.ly service for short urls. The plugin uses bit.ly with the history option, so you can track the clicks on the urls inside your twitter posts on your bit.ly homepage.

bit.ly statistics

The plugin is based on ideas and code by Ingo “Ingoal” Hildebrandt, Marco Luthe and Victoria Chan. The code is licensed undder the MIT licence.

Download & Support:

For releases or source code see the projects Wordpress.org or Google Code page.

Please use the issue tracker on the Google Code page to report bugs or make suggestions.

Do you like the plugin? You can support me with a donation via Paypal:


Share with Bit.ly


Comments

Comment by kortina — 18.1.2009 @ 18:59

Love it!

Comment by Dave — 22.1.2009 @ 19:37

I like this plugin a lot and use it on a few blogs but there’s a major bug that causes tweets to be made when a post is edited even if you have that option unchecked in the admin interface.

Comment by michael — 23.1.2009 @ 8:56

Hi, Dave. Thank you for your bug report and your fixes on the Google code site. I will include this on the weekend.

Comment by baron — 24.1.2009 @ 18:59

hi. Thanks for plugin

perfect.

Regards

Comment by Dave — 29.1.2009 @ 17:59

Feature suggestion: Change the options to be on each users profile page. That way you can set tweets to be made only for users who have the option turned on in their profile page.

Comment by Alexander — 12.3.2009 @ 21:36

Really like this plug-in, however it does not tweet letter with accents correctly such as á or é, making it a little unconfortable por tweeting in other languages other than english.

Comment by Ozberk — 26.3.2009 @ 16:59

Hey Dave,

Thanks for the great plug-in.

However there’s a small bug I had to hack the code a little bit. You shouldn’t encode the title with utf-8 if the blog encoding is already utf-8.

@Alexander we had the same problem and fixed it by changing line 82 in tweetly_updater.php

from:

$status = utf8_encode($sentence);

to:

$status = $sentence;

Cheers

Comment by michael — 26.3.2009 @ 18:11

@Ozberk & Alexander: I will look into this on the weekend and fix it for the next version. Thank you for your input.

Comment by Zuliady Azwin — 14.5.2009 @ 9:34

@Michael

i like this blog tool, i will use this in my blog.

http://zuliady.azwin.web.id

Thank you

Comment by David Pinto — 18.5.2009 @ 20:51

Is there a way to add other tags besides title?

Comment by Kim Beasley — 20.5.2009 @ 15:59

In the file, tweetly_updater.php, there are problems with the “@” sign on lines 66 & 75. These lines are adding an “@” sign to the link and it’s causing problems with the link (it’s breaking the link for some people on Twitter). So I removed the (@) sign and it works find now.

Comment by Kim Beasley — 20.5.2009 @ 21:52

When the tweets that are sent by Tweetly Updater hit my account, they are only 60 characters long. I need to know how to increase this number and what the maximum is. Thanks!

Comment by michael — 24.5.2009 @ 11:13

There is a new realease (http://www.zepan.org/2009/05/24/tweetly-updater-112/) that fixes the encoding problem and eliminates the @ character.

@kim: I will look into this 60 characters thing.

Comment by JesusFreak — 15.6.2009 @ 6:30

Thanks for this.

You can follow on twitter @ http://www.twitter.com/adesojiadegbulu will follow u back ASAP

Comment by Tribak — 24.6.2009 @ 4:11

Maybe the first category name somewhere in the tweet will be good, because just the title isn\’t always a descriptive way to say what are you linking to

this is what i\’ve done:
after title variable initialization
$cat=get_the_category($post_ID);
$categories = $cat[0]->cat_name;

and this in the variable concatenation:
$thisposttitle = $categories . \’ | \’ .$thisposttitle . \’ \’ . $shortlink;

Comment by Dave — 30.6.2009 @ 15:33

Version 1.1.2 of this plugin is sending Twitter updates when updating a post even if this feature is turned off in the options.

Comment by Will Castillo — 28.7.2009 @ 21:23

Dear friend,

Thanks for sharing your plugin.

I’m using it and it’s quite useful.

I would like to add my two cents. I noticed that your plugin add a new metakey everytime a post is saved. It is absolutelly transparent for most users but a few of them could be picky with it.

I just changed lines 87-88 to the following ones:
$metaShortLink = get_post_meta($post_ID, “tweetlyUpdater_bitlyUrl”, true);
if ($metaShortLink == ”) {
if (!add_post_meta($post_ID, “tweetlyUpdater_bitlyUrl”, $shortlink, false)) {
error_log(“Could not add bitly url to meta data”);
}
}

I hope you can implement it in the next version so I don’t have to hack it again!!!

All best
Will

Comment by Will Castillo — 29.7.2009 @ 1:43

It’s me again.

My solution fail if the permalink is changed so the plugin should save the original permalink and create a new metadata only if it changes.

Comment by daniel — 7.8.2009 @ 12:19

I think there is a problem with your Plug-in. After the Twitter update from yesterday the plug-in no longer works. In the admin I get:
You twitter login could not be verified!

If I go to the twitter site I can login without any problem.

Comment by Christopher — 24.8.2009 @ 22:09

Hi, I use a plugin that allows me to blog in more than one language but your plugin doesn’t filter out the HTML comments that show the language. Could you please add a filter to the title to remove anything in html comments?

Comment by McM — 1.9.2009 @ 19:25

Hi, I have the same problem than daniel :
“Your twitter login could not be verified”
but my login & password are correct

Comment by buZz — 6.12.2009 @ 20:00

Hello,

is it possible to post article tags to twitter like #title#/#firstcategory# -> #firsttag# ?!

Comment by Justin Korn — 30.12.2009 @ 21:28

Been using this plugin for a few months and really like it, though, I just realized that any scheduled post get posted to Twitter immediately. This is quite a big bug.

Hope this is a quick fix.

Happy New Year,
Justin

Comment by michael — 3.1.2010 @ 14:30

@JustinKorn: Please see the new release 1.2.1, this should fix the problem: http://bit.ly/8DsUvB

Comment by Hugh — 6.1.2010 @ 2:52

Great plugin. Very easy to set up! Works like a CHARM!

Comment by James — 7.1.2010 @ 7:37

your plugin has been recommended by someone I trust with my internet presence @ErinBlaskie. If it’s good enough for her then it’s good enough for me.

Comment by tamara — 1.2.2010 @ 23:15

Can you advise on this issue.

“Your php installation doesn’t support the json_decode functionality.”

Do I need to change something at my end?

Thank you

Comment by michael — 2.2.2010 @ 9:00

@tamara: I think your PHP installation is outdated. You need PHP 5 >= 5.2.0 or the PECL extension json >= 1.2.0 (http://bit.ly/db0DjK).

Comment by tamara — 2.2.2010 @ 20:49

Thank you for your advice, I’ll look into that.

Comment by mar — 10.2.2010 @ 13:28

Great plugin.
But i want to ask one question. Is it possible to make that the plugin don`t use bit.ly service and put full website adress?

Comment by michael — 10.2.2010 @ 14:54

Hi mar. This plugin will always use bit.ly and only bit.ly. I build the plugin to use the bit.ly stats for my tweeted links.

Comment by Sandy — 19.2.2010 @ 5:23

Michael -

Quick question on when tweetly will send. If I create a new post that is private, then edit it then finally set to public I’m not seeing a tweet when I flip it. I’m not sure if it is supposed to send one but any way to get that going or have a check box to ‘force’ tweet if that makes sense?

Thanks for you hard work too!

Sandy

Comment by michael — 19.2.2010 @ 12:17

Hi Sandy, at the moment Tweetly Updater triggers at the following transitions:

future to publish
new to publish
draft to publish
pending to publish
publish to publish

I will look into the WP API if there’s a way to trigger private to public. In the meantime you could leave your unfinished post just in draft status before publishing?

Comment by kaaliss — 26.2.2010 @ 15:15

Hi,

I just installed the plugin and it’s tweeting posts without bit.ly links. It’s updating the title and nothing else.

I introduced my bit.ly info, but I don’t know what’s happening.

In the setup page, it says that the plugin wil send updates as “#title#”.

does it have to be like “#title# #link#” or something?

thanks for the plugin anyway :)

Comment by Rick Harrison — 7.3.2010 @ 12:12

Michael,

I find this possibly the best plugin for twitter available.

One quick question… I have set up a site, http://www.reviewrecruiter.com.au which is using a review engine and users are able to post reviews (which are stored under comments). Is there any way that I can make the comment tweeted?

Rick.

Comment by Valarie32TURNER — 11.3.2010 @ 5:33

Don’t you recognize that it is the best time to get the mortgage loans, which would make your dreams come true.

RSS feed for comments on this post.


Leave a comment

Additional comments powered by BackType