« Automatically Post New Entries to Facebook | Main | The General Lee »

Auto-Tweet New Entries to Twitter

The Twitter Tools plugin for Movable Type enables you to easily and automatically share your MT entries on Twitter. The plugin pushes tweets directly to Twitter immediately when entries are published, avoiding the delays of other services. Future versions of the plugin will add additional Twitter integration features.

Post New Entries to Twitter Within Seconds of Publishing

There are a number of free services out there that will automatically share your entries to your Twitter stream. In most cases, these services work by periodically checking your blog's RSS feed for new entries to post. While this works, it means a time lag or delay before new items get posted to Twitter. The delays get worse and more frequent when these services become popular. TwitterFeed has over 1,000,000 users -- because they have so many RSS feeds to check, it can often be a long time before they get around to yours. The Twitter Tools plugin solves this delay problem by pushing the tweets directly from MT, immediately, when the entry is published.

How it Works

The plugin is pretty simple. After installing the plugin, you authorize MT to auto-tweet when new entries are published. After that, every new entry gets tweeted quickly and directly and automatically.

Other optional features include:

  • Add a prefix to tweet (such as "New Post:")
  • Automatically add hashtags to a tweets for a blog
  • Automatically use Entry tags as hashtags
  • URL Shortening using the URL shortener of your choice (including Bit.ly, Awe.sm, Supr, YOURLS, TinyURL, and more). (yes, you can enter your own shortener API key and yes, Bit.ly Pro domains 'just work')

Twitter Tools Pro

With Twitter Tools Pro, you get the following extra features:

  • Post to both blog and author Twitter feeds at the same time. This is great for multi-author blogs, or if you want to post to both your person Twitter account and to your blog's Twitter account.
  • Optional Filters can be used to only tweet entries with specific Categories or Tags
  • Optional customized Tweet text for each entry (the default is the Entry title).
  • Option to use your own Twitter App, enabling you to customize the "via" text and link shown in Tweet metadata
  • More features are work-in-progress, including importing tweets and more.

Template Tags

Twitter Tools includes one new template tag:

  • <mt:EntryTwitterShortURL> - Outputs the short URL created when the entry was tweeted (using the URL shortener of your choice). You can use this template tag to display the short URL to your readers and/or integrate it into Twitter share links or Tweet Buttons -- great for analytics, as your readers use the the same short URL as you do. Note: if the entry was not tweeted by Twitter Tools, this tag will output an empty string. This tag also works on PHP-dynamic templates.

Requirements

All required modules are included in the download file for Twitter Tools. See installation steps below.

Installation

  1. Download and extract the zip file, then upload the contents of the 'plugins' directory into the 'plugins' directory of your Movable Type installation (often /cgi-bin/mt/plugins/).
  2. Upload the contents of the 'extlib' directory into the 'extlib' directory of your Movable Type installation (often /cgi-bin/mt/extlib/).
  3. Upload the contents of the 'mt-static' directory into the 'mt-static' directory used by your Movable Type installation.
  4. Go to the blog-level plugin settings for Twitter Tools and click the Signin with Twitter button to authorize your blog to post to Twitter.
  5. Return to the settings once again and click the "Auto-tweet" setting to enable auto-posting to Twitter, and adjust other settings as desired.
  6. (Optional for Pro) Authors can also connect their MT author profile with a Twitter account by choosing the "Twitter Account" item from the left menu of their user profile. Note that entries will be posted to Twitter only if "auto-tweet" is enabled in blog settings for the plugin.

Get Twitter Tools Pro

Commercial License for 1 to 10 blogs - $97

Blog Network License for 10+ blogs - $249

Get Twitter Tools

Twitter Tools is free for non-commercial use:

Download Now

Download Now
Downloads: 384

As always, comments, questions, and suggestions are welcome.

Future versions of Twitter Tools may include other integration features such as importing Tweets into a blog and more. Suggestions are welcome.

Follow @mthacks on Twitter for updates and other MT and Twitter hacks.

Rate this entry:

  • Currently 3.3/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 3.3/5 (45 votes cast). Powered by the Ajax Rating plugin.

Comments (51)

Hi-

I've just tried moving over from MT-Twitter to this, but I can't get it to work. I am actually publishing my posts through an external editor (MarsEdit on the Mac), so it doesn't surprise me that posts through the editor don't get tweeted, but at least with MT-Twitter, when I saved the entry through the actual MT web-based settings, it worked fine. With Twitter Tools, this isn't happening. Is there any way to turn this on?

If this can be settled, great. If so, I do have a further suggestion -- it would be useful to have a "tweet this" checkbox on the entry editing screen, like MT-Twitter. Given my workflow, I want to tweet for the initial posting, but not edits. (But perhaps this is related to the fact that my initial posts are not through the web app, as well?)

Thanks in any event!

Andrew

matheus:

Hi

I just installed the Twitter tool and somehow my links aren't going thru the bit.ly shortner.

Cheers

Tim

I just installed the Twitter tool and somehow my links aren't going thru the bit.ly shortner

But perhaps this is related to the fact that my initial posts are not through the web app, as well?)

Thanks in any event

4.Go to the blog-level plugin settings for Twitter Tools and click the Signin with Twitter button to authorize your blog to post to Twitter

it would be useful to have a "tweet this" checkbox on the entry editing screen, like MT

just installed the Twitter tool and somehow my links aren't going thru the bit.ly shortner

Bhanu Tiwari:

When I read this web discussion I thought MT Hacks's commenters just have to view this: http://hubpages.com/hub/rent-a-laptop-rentals . I just don't get renting a netbook at all! The fees for renting a notebook even for a couple of weeks is going to charge you as much as just going online and buying the unit!

why it is not work for me ???

An error occurs between installation steps 3 & 4 above (I'm using MT 5.031). The error crashes the entire plugin interface. The message is this: "failed loading package TwitterTools::App::CMS for routine TwitterTools::App::CMS::blog_config_template: Can't locate object method "new" via package "JSON::XS""

I noticed that there is an entire /twittertools/app/ subdirectory within the /twittertools/lib/ directory. I tried moving that /app/ directory around, but to no avail.

Hope to see this working soon.

sarudama

Some really great photos here. I'd never even heard of 8-bit music before so thanks for enlightening me! Jim.

will be fresh in my ears as long as i live.


Some really great photos here. I'd never even heard of 8-bit music before so thanks for enlightening me! Jim.

will be fresh in my ears as long as i live.

شات وناسه

Pam Author Profile Page:

Get this message:
Can't use string ("EntryTwitterShortURL: $TwitterTo") as a HASH ref while "strict refs" in use

after installing using the instructions given. When you have a fix, I'd love to know about it.

will be fresh in my ears as long as i live

Comments: (you may use HTML tags for style)

Joe Author Profile Page:

Tried to install this, and when I went to login via Twitter, I got this error msg:

"Can't locate object method "default_header" via package "LWP::UserAgent""

Any ideas?

Joe Author Profile Page:

Fixed it - something must have gotten hosed during the upload to the extlib area.

Joe Author Profile Page:

I got it working - it posted a test post to Twitter. I then went and deleted that post. Any subsequent attempts to post don't get posted to Twitter. I double checked the authentication on both sides, it all looks OK, it's just not posting. Don't know why.

Joe Author Profile Page:

I tried again later in the night and I did get one through, so it seems to be inconsistent. can you think of any reason why it's not posting 100% of the posts? Is there spam filter thing, where if you try posting too many in a short period, it blocks them?

Joe, it should post all the entries. However, note that if you delete a tweet for an entry, and then re-save the same entry, it won't tweet it again -- were you testing with the same entry or with new entries? The plugin "remembers" the entries that have been tweeted and won't try to tweet them again, even if they have been deleted from Twitter.

Joe Author Profile Page:

Hmm.. Yeah, the tests were mostly the same. I changed them somewhat (making the title different by one word or something, but the body was the same). I'll try and keep an eye on that going forward and see what it does.

mensaje informativo y enriquecido con una gran cantidad de información de calidad que me ayudan mucho.

Sauber! Der Beitrag ist wirklich sehr hilfreich. Hab ihn soeben zu den favoriten hinzugefügt. Besten Dank Auf wiedersehen

Sauber! Der Beitrag ist wirklich sehr hilfreich. Hab ihn soeben zu den favoriten

Jo bin auch der Meinung! Macht weiter so.

Jo bin auch der Meinung! Macht weiter so.

Sosyetenin zayıflama sırrı olarak gündeme gelen Altın Çilek dünyanın lif oranı en yüksek meyvesidir. En yakın rakibinden 3,5 kat daha fazla lif içeren yapısı onu dünya zayıflama sektörünün gözdesi yapmıştır. Bu lifli özelliği sayesinde net bir tokluk hissi sağlamakla birlikte en önemli özelliği vücuttan su kaybetmeden, kasları değil yağları hedef alarak kısa zamanda yüksek ve sürekli kilo kaybı sağlamasıdır
altin çilek

What do you guys think is the top Twitter tool? Tweet Attacks is probably awesome, but I haven't tried that yet.

I will have to go back over it but I hope it helps, trying to create a site but so hard to get anyone to find it when they don’t know who you are

Tried to install this, and when I went to login via Twitter, I got this error msg:

will have to go back over it but I hope it helps, trying to create a site but so hard to get anyone to find it when they don’t know who you are

Looks cool! Wish it came in IE or straight Chrome.

can't wait for this in Chrome! I'll never go back to IE or Firefox!!

Using it in Chrome would be great, I stick to Firefox right now but using IE is a big NO from my side.

Thanx this great work !

Looks cool! Wish it came in IE or straight Chrome.

Fixed it - something must have gotten hosed during the upload to the extlib area.

Neil:

For some reason - it doesn't seem to shorten my URL with bit.ly. Any idea why? Is the plugin obsolete or am I doing something wrong? Do I need a Bit.ly Pro account or something?

I just installed the Twitter tool and somehow my links aren't going thru the bit.ly shortner

Post a comment