Twitter is big. Too big to ignore if you’re a blogger. It’s a great way to connect with your readers, and promote your blog a bit.
Tweetable is intended to help integrate Twitter into your blog. It can automatically tweet links to your blog posts as they are published. It can display your lastest tweet in your sidebar and add a tweetmeme widget after your posts. You can even use it to share a Twitter account among a blog’s author’s if you wish.
- Automatically tweet your blog posts when they are published. Optionally add Google Analytics campaign tags to the shortened URLs. You also have your pick of URL shorteners.
- Tweet from within WordPress. The plugin adds a dedicated Twitter page where you can browse your friends timeline and post updates. An optional quick-tweet Dashboard widget is available as well.
- Display your latest tweets in your blog sidebar with a customizable widget. Includes support to display follower count.
- Set the minimum user level to access the Twitter page in the WordPress backend.
- Automatically add a full-size or compact Tweetmeme widget to your posts.
- Track tweets based on keywords of your choice via the Twitter API.
- Embed tweets in your posts with oEmbed.
Note: Please ensure that your server is running PHP 5 or higher before installing.
Generally, all you should have to do is click the Update button on the Plugins page when a new update becomes available.
There are a few template tags available in Tweetable.
<?php tweetable_latest_tweets(); ?>– Outputs your lastest tweets. You can optionally pass a number to it to controll how many it prints. E.g.
<?php tweetable_latest_tweets(5); ?>.
<?php tweetable_follower_count(); ?>– Prints the number of people following you on Twitter in plain text. You can also call it in the form of
<?php $var = tweetable_follower_count(FALSE); ?>if you need to have the number returned instead of output to the screen.
<?php tweetable_tweetmeme_button(); ?>– Displays a Tweetmeme (Tweetmeme.com) button. Call
<?php tweetable_tweetmeme_button('compact'); ?>for the compact version.
You can extend Tweetable by tying your theme or plugin functions into the included hooks.
Runs when a post is tweeted, before the URL is shortened. Parameters: $permalink.
Runs after the post title is retrieved, but before it is merged into the string to be tweeted. Parameters: $title.
Runs immediately before the auto-tweet is sent, after the title and link are combined and (if necessary) shortened. Parameters: $tweet.
FTP the entire tweetable directory to your WordPress blog’s plugins folder (/wp-content/plugins/).
Activate the plugin on the “Plugins” tab of the administration panel.
Choose an option from the Twitter menu in the sidebar to run the setup wizard and connect your Twitter account to your blog.
- What the @!%$ is OAuth?
OAuth (http://oauth.net/) is a standard used by sites like Twitter to allow third-party scripts to request access to your account. It’s much more secure than simply handing an application your Twitter username and password. Thanks to OAuth, nobody can steal your Twitter password if they managed to gain access to your WordPress database.
- oEmbed? What’s that? How do I use it?
oEmbed is a protocol that makes it easier to embed things in your blog posts, such as YouTube videos. If you have the “Auto-embeds” option turned on in your Media settings, then Tweetable will add Twitter oEmbed support. This means you can embed tweets in your blog posts, and they will be rendered in a fancy manner that looks consistant with Twitter.com. To embed a tweet, look for the “Embed this Tweet” link below a status update on Twitter.com. (For an example of where to find it, look here.) Click it and copy the plain Link it gives you. Paste the link on it’s own line in your post, and it will be replaced by the entire tweet when you view the published post.
- What is the bookmarklet on the “Tweet” page?
If you drag it into your browser’s bookmarks toolbar, you can tweet a link to a web page just by clicking it. (You will have to log into your blog admin, of course.)
- How do I enable YOURLS support? What does it do?
YOURLS (http://yourls.org), or “Your Own URL Shortener” is a PHP application by Lester “Gamerz” Chan and Ozh Richard. If you have a short domain name handy, you can quickly set up your own URL shortener, complete with an API that Tweetable can hook into.
In order to let Tweetable create new short URLs using your YOURLS install, you need to configure a few settings on the Twitter->Settings page in WordPress. First you must input your YOURLS username and the domain where it is installed into the “Shortener Login” field. An example would be
@symbol is used as a separator between the domain name and the username. If YOURLS is installed in a subdirectory of a domain, you may have to use something along the lines of
email@example.com/directory. The second step is to put the YOURLS password in the “Shortener API Key” field.
- Who made the icons used in Tweetable?
The icons used throughout Tweetable are part of the Silk Icons set by FamFamFam. http://www.famfamfam.com/lab/icons/silk/
- How do I contact the plugin author?
If you have a bug report, a feature request, or some other issue, please use the WordPress support forum here: https://wordpress.org/extend/plugins/tweetable/
Contributors & Developers
“Tweetable” is open source software. The following people have contributed to this plugin.
- Updated the instructions in the Tweetable setup screens, as they were a bit outdated. If you already have Tweetable installed and working, you can safely skip this update.
- The Twitter account authorization wizard should now work with the new Twitter API version.
- Hasty patch to fix Twitter API access, as unversioned endpoints were turned off.
- Clickability improvements! Thanks to Steffen Vogel for the patch.
- The plugin repository wasn’t updating to show the new documentation changes, so I’m pushing a new version.
- Added an extra screenshot.
- Added oEmbed support for Twitter! Now if you paste a properly-formed URL into a post, it will be replaced with an awesome widget from Twitter.
- Fixed “Missing Argument 2” warning.
- Made a minor change to the widget-handling code to replace a couple of deprecated functions with their new counterparts.
- Removed some debugging code. If you are running 1.1.9, please update.
- Added support for J.mp version 3 of the Bit.ly/J.mp API. Thanks to WordPress.org forum member xeresjp for the patch!
- Added support for the YOURLS shortener.
- Changed the shortener API key field (on the settings page) from a “text” to a “password” input.
Tweets with “&” symbols are no longer cut off.
Added a conditional statement to check if the TwitterOAuth class is already included, for compatibility with some other plugins.
- Added Bit.ly shortener support. (Requires entering your API key.)
- Added Ow.ly shortener support.
- Fixed issue where Twitter outages sometimes prevented blogs from loading. (The Latest Tweets widget would trigger a fatal error and end the script.)
- Added support for StumbleUpon’s Su.pr URL shortener.
- Added a message bubble to the installer when the Twitter account is being changed.
The Change Account link is really fixed now…
Okay, now the Change Account link is fixed…
- Fixed the Change Account link in the plugin settings.
- Added three filter hooks to the auto-tweet subroutine.
Fix for the “You do not have sufficient permissions to access this page” error when trying to run the installer under WordPress 2.8.1.
The 1.0.7 update didn’t go over properly. Missing files, stuff like that. 1.0.8 should fix any problems.
- Added #hashtag support. Any hashtags in tweets are made into clickable triggers that open a dialog with a Twitter Search of that hashtag.
- The “Documentation” link in the Tweetable page footers is now parsed into (much more legible) HTML.
- Added “Settings” link near the Activate/Deactivate and Edit links on the plugins tab.
- Updated README, changed “Version History” to “Changelog.”
- Added an option to the widget for a “widget title link,” so you can optionally link your widget’s title to your Twitter profile.
- Added an upper limit for the “Number of Tweets to Show” option in the widget (20), to prevent unexpected results if set too high.
- Auto-tweets no longer show-up in the sidebar widget, as long as you specify a tweet prefix in the settings.
- Option to exclude Tweetable stylesheet. If you don’t display your latest tweets publicly on your blog, why should a stylesheet be included?
- Added Tweetable “Tweet This” bookmarklet. You can find it on the “Tweet” page.
- Added “3.ly” to the supported URL shorteners.
- Added a link to reset the setup wizard if something goes wrong and it doesn’t complete.
Fixed error when Safe Mode is on, stopped Shorten URL icon from disappearing when it finished blinking.
Fluid-width dashboard widget (with loading throbber), 140-char limit check when posting updates, AJAX calls include token for security.
Fixed bug triggering fatal error on all installations.
Fixed issue with items on the Track screen not deleting, PHP4 detection problems.