Tweet only a certain category from wordpress entries... (7 posts)

  1. popokolok
    Posted 7 years ago #

    I am currently using a the Tweetable plugin to auto-tweet my blog posts to my Twitter account as updates - my question is can I somehow tweak Tweetable so that it will take new posts only from categories I specify and tweet them and and not just any new post from my blog? I checked several other plugins including Twitter Tools, and seems like there's no such option... Is it possible to tweak the plugin or any suggestions?

    Thank you in advance.

  2. redwallhp
    Posted 7 years ago #

    Thank you for the suggestion. It might make it into one of the next couple Tweetable releases as an option...

  3. popokolok
    Posted 7 years ago #

    Anything on that please? Is that a problem to tweak it?

  4. redwallhp
    Posted 7 years ago #

    It's on my to-do list... I'm quite busy, so I haven't had the time to work on things I don't really get paid to do. :)

    I think I might be able to have it into the plugin in a couple weeks or so.

  5. mainecampus
    Posted 7 years ago #

    You can use a service like TwitterFeed and feed in a category's RSS feed in the time being.

  6. popokolok
    Posted 7 years ago #

    Alright, thanks redwallhp, your work is great. mainecampus, yeah I know about twitterfeed, thanks for reminding.

  7. ousep
    Posted 6 years ago #

    A small hack, until the next version comes out..

    Around line 260, add this line...

    if (in_category (XX, $post) ){


    if ($post->post_status == 'private' || $post->post_type == 'page')

    and then, around line 290,
    add an extra



    $update = $twitter->update_status($tweet, $user_key, $user_key_secret);

    Replace XX with the category id, name or slug. Read this for more details.

Topic Closed

This topic has been closed to new replies.

About this Topic