How to use the Twitter plugin for WordPress

Default Twitter Settings

Tweet Format - This is the default tweet format that will be sent to twitter whenever you publish a new post in your WordPress website. The default can be customize to look however you choose. The tag %TITLE% represents the title of your post and %URL% represents the URL of your post. The Twitter plugin will attempt to get a TinyURL of your post by default, unless you have Twitter Friendly Links installed and activated on your site. If it is unable to use Twitter Friendly Links or get a TinyURL it will use the actual URL of your post.

Default Tweet Format: Blogged %TITLE%: %URL%
Example Tweet Format: %TITLE% @ %URL%

Tweet Categories - Select which categories to include or exclude from Twitter.

Default Tweet Categories: Include All Categories

Tweet All Authors - The plugin suite allows you to take advantage of multiple authors on your WordPress website. Each author can setup a account and insert their API key into the plugin. If you have multiple authors publishing to your WordPress website then you will wan to have this box checked to ensure that your tweets get sent properly.

Post Specific Settings

Tweet Format - You can use a custom tweet format for each individual post. This is especially useful for crafting the right tweet for your post. An example would be if you want to add a hashtag to your tweet, but don't want to have the hashtag or @mention in your post title.

Example Tweet Format: How to use the @leenk_me Twitter plugin for #WordPress %URL%

Exclude from Twitter - If you want, you can exclude a post from being tweeted by checking this box.

ReTweet - The ReTweet option only appears for published posts. It allows you to resend the published post to Twitter. Twitter does have some SPAM blocking enabled, so you cannot immediately retweet the same post, you must wait before Twitter allows the duplicate tweet to go through.

This entry was posted in plugin, Twitter. Bookmark the permalink.

36 Responses to How to use the Twitter plugin for WordPress

  1. Chris says:

    Hey! Just started using your service and it is awesome! I love the fact I can set tweet options on a per post basis, though I haven’t tried it yet.

    A question or, possibly, a suggestion: Can the per post tweet options inherit the default settings? For example, I often want to use hash tags when I tweet a post, but usually just want to append them to the usual format.

    Do I have to enter the whole thing every time I want to override my default Twitter settings? If so, is it possible to auto-fill these with a future update, so I can simply modify or add to my usual format?

    • Lew Ayotte says:

      Hi Chris,

      Yes, for now, you have to enter the whole format every time you want to override the default. It is a good idea to auto-fill the custom options, I will probably do something like this in a future update.

      Thanks for the input. Let me know if you need anything else.


  2. Eric says:

    I’d like to know how to setup leenk a domain for a specific twitter account.
    Kind regards

    • Lew Ayotte says:

      Hi Eric,

      I’m not sure I understand what you’re asking for. is already setup to post to the specific twitter account of your choosing.


  3. Christina says:

    Hi Lew,

    I would like the same option that Eric is asking. Yes, the plugin allows you to post to a Twitter Account, but it does not allow you to connect to various Twitter Accounts. I purchased the unlimited domain set up, but I want each of my domains/blogs to post to the Twitter Account that I have set up for them. Currently, the plugin only allows me to set up each of my blog to connect to one of my accounts.

    The plugin also only allows you to post to one specific Fan Page, same scenario here, many of us have different types of businesses and we create different fan pages.

    The ability to set up the plugin to connect a site to a specific Twitter or a specific Fan Page, would be a much appreciated option for those of us owning several websites.


    PS, I still have not figured out which of my installed plugins is conflicting with your plugin.

    • Lew Ayotte says:

      Hi Chris,

      Yeah, I have plans on updating the account types early next year to allow for multiple twitter accounts. It’s a bit of a problem because most people don’t want to publish to multiple twitter accounts from each API key… so I need to develop a way for a single account to generate multiple API keys for each set of social networks. As you can imagine it can get messy real fast.

      For not the only alternative is to setup additional accounts. For your case, you can unsubscribe from the Plus account and re-subscribe to the Basic account, then setup additional basic accounts per domain. You may end up saving money over the cost of the Plus account.

      If you can provide me with a list of all the plugins you have activated on your sight, I can try to assist you in figuring out what’s going wrong.


  4. Christina says:

    Hi Lew,

    Actually I already thought of purchasing a basic account for my other domains and you’re right, it may actually cost less to go the basic account set up. In either case, you’ve created a very useful plugin, I’m glad I found it.

    When I get a chance I will try to send the names of the activated plugins. Unfortunately, my personal site builds are taking a back seat to my current client project. Only get to work on my site when time allows. But, I appreciate the offer of help.

    Take care and Thanks again!

  5. Maarten says:

    Hi there,

    I was wondering if it would be possible to send out the tweet on a different time then the actual post is published?

    Kind regards,


    • Lew Ayotte says:

      Hi Maarten,

      The only way to do this would be to check “Exclude from Twitter?” before you publish, then later edit the post, uncheck “Exclude from Twitter?” save the post and click “ReTweet”.

      • Thanks for the advice. Would it be possible to add this functionality perhaps? We always publish at 6am so early birds have something to look at. But tweets are perhaps more for lunchhours and would like to be able to set a certain delay-amount.

        Kind regards,


  6. Fiona says:

    I changed my password on twitter recently. I went to the account setting to unlink my twitter account and to re-link it but now it doesn’t work.

    I click on the twitter allow access button when it comes up but when it redirects back to the account page it hasn’t connected.

    What should I do?


  7. THESS EPAM says:

    The Title and tags on my WP blog are in greek language. Twitter fails to post non-english chars (I guess).
    Is there a workaround?

    • Lew Ayotte says:


      Can you send me an example, so I can test? As long as the characters are UTF-8 it should send to Twitter. I know a few people are using Russian characters without any trouble.


  8. dale roberson says:

    I write and schedule daily blogs weeks in advance and want them Tweeted when they publish. is not Tweeting until I log into WordPress admin hours or days later. How do I get it to Tweet when WordPress publishes the scheduled blog?

    • Lew Ayotte says:

      Hi Dale,

      WordPress is “passive” so it cannot do things when you schedule them unless someones visits your website during or after the scheduled time. So, the action will trigger when someone visits your WordPress site, if the scheduled time has passed. It could be that no one visits your site for 2 days and your post publishes late.

      The way work is that whenever a post is published it activates and sends to Twitter, etc. The plugin actually hooks into the publish action of WordPress.

      In other words, leenk.m eis tweeting when WordPress publishes… WordPress just isn’t publishing when you set it because the schedule action hasn’t run yet.

      If your host allows you to setup UNIX Cron Jobs, you can set one up to “visit” your site every hour, this will run the schedule action, publish your post, and sent to Twitter when you expect it to.

      Hope that helps.


  9. dale roberson says:

    Interesting. WordPress Admin shows that my posts are being “published” at my specified times. But you’re saying that’s not true? Nothing is published until somebody actually goes to my site? That seems odd.

    In that case, I’d sure like you to include a timer on to send a Tweet at a scheduled tome to drive people to my post each day.

    Thanks for your response and suggestion.

    • Lew Ayotte says:

      Hi Dale,

      Yeah, it is a little odd, but that’s pretty much how it has to work. If you’re interested, you can check out the information for the function that runs:

      The way works is when the post is published, it sends the information to the server to disperse it to your social networks. The best thing you could do it ensure your posts get published on the scheduled time is to setup a CRON JOB on your webhost that checks your website every hour or so. I’d probably set it to 5 minutes past the hour, assuming you schedule most of your posts on the hour.

      The cron argument should look something like this (this is how it would look in Linux/UNIX):

      5 * * * * wget -O – -q -t 1

      That will run the “wget -O – -q -t 1” command five minutes after every hour, every day. If you set that up, you should be all set.

      Thank you.

  10. Angela Dalessandro says:

    What does this mean and how do I fix it?

    Twitter: Twitter Error Received: Client must provide a ‘status’ parameter with a value.


  11. Phil Seymour says:

    Keep getting this as an error for Twitter, can you help….
    200,”Twitter: Error: Please log in to to verify you hav leenk’ed your Twitter account properly.
    My account is setup but it will not tweet, only goes to FB

    • Lew Ayotte says:

      Hi Phil,

      It sounds like you didn’t add your Twitter account to your API key. Log into your account here and go to “manage your API keys” then click the API key you’re using to edit it. Make sure you have your Twitter account selected for that API key and save the settings. Let me know if that doesn’t help.

  12. Phil Seymour says:

    Nope its still the same and i have even given the api key an alias called ChaseT but still no joy !!!

    • Lew Ayotte says:

      Hi Phil, It looks like you have two API keys, one named ChaseT and one named ChaseFB. Are you using both of these API keys on the same WordPress site?

      I suspect, if you are, that the error is because the ChaseFB only has a FB account associated with it, but your site is probably setup to send to Twitter, which will work with the ChaseT API key. That sounds really confusing, even to me!

      Is there any reason why you’re separating the social network accounts by API key, instead of setting them both in one API key?

  13. Phil Seymour says:

    Done it !!!
    Thats ace, thank you so much for all your help.
    It was that i setup the API key to 1 site with 2 API keys as i thought you could only use 1 API per social network.

    This has helped our club noend.

  14. Phil Seymour says:

    Hiya Lew,

    Got another problem now as my other site when i load up the API it only shows FB in the manage API dropdown doxes , but in twitter and linkedin they are empty for some reason……
    Help Me AGAIN.

    • Lew Ayotte says:

      Hey Phil, go to “manage your social networks” and make sure you have Twitter and LinkedIn connected to that account. Let me know if that doesn’t help.

  15. Phil Seymour says:

    oh i forgot have a great Christmas everyone and a happy New Year.

  16. Steffen says:

    Has “Tweet All Authors” been removed? If so, how can I tweet the same post to 2+ twitter accounts simultaneously?

    It’s not in my Twitter settings nor on the main settings page. There are two users with a API key on the wordpress installation, and I checked with both.

    • Lew Ayotte says:

      Hi Steffen, The option to enable/disable it has been removed, it is just always on (enabled) by default now. If both users have their API keys setup, it should automatically be published to both of their Twitter accounts. If you are having any trouble with this, send me a support email so I can help you troubleshoot.