Marc's Blog

Things from me about me …

Fixing Twittertools to post URL of your blog post [UPDATE]


So I got this WordPress plugin Twittertools from Alex King which promises to publish your blog posts to twitter including an link back to your blog post. Unfortunately there is a hardcoded tweet format setting in the twitter-tools.php file:

$this->tweet_format = $this->tweet_prefix.': %s %s';

which doesn’t provide enough %s placeholders for the URL to be posted. So if you have experienced this problem, just change the above line to:

$this->tweet_format = $this->tweet_prefix.': %s %s %s';

and all is fine.

UPDATE: This issue is fixed in Version 2.2.1, no need to patch your TwitterTools 😀

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.