Feed Facebook, Leave Facebook

Facebook is shutting down its RSS import feature on 22 November 2011. This plugin will still work, but you will no longer be able to use Facebook as your import service. For alternative import services, try: Twitter Feed, RSS Graffiti (I have no experience with either of these.)

Feed Facebook, Leave Facebook is a plugin for WordPress to generate a separate partial feed for use on Facebook. Use it to direct Facebook visitors to your blog while leaving your main full-text feed intact.

If you’re a (reluctant) Facebook user and you’re unhappy with the way it handles your feed, use this plugin to generate a special excerpts only version for Facebook. It will also add a link to your blog post beneath the excerpt in case visitors miss the ‘View original post’ link Facebook provides.

Download — Latest Version

Installation (for WordPress 2.8+)

The easiest way to install the plugin is to install with plugin installer (enter your WordPress address).

If you want to do it manually:

  1. Upload the feed-facebook-leave-facebook directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Once activated, access your feed with the querystring feedfacebook appended to the end. This is usually
http://[your blog address]?feed=rss2&feedfacebook — if you use pretty permalinks, it could also look like this: http://[your blog address]/feed/?feedfacebook

You can register the new feed URL with Facebook on its Import a Blog page.


To customise the message, add it to the querystring:

?feedfacebook=Read the rest at my site

If you want to explain to your readers why you’re asking them to leave Facebook to read your post, you can add that with the following:

?feedfacebook&why=URL of explanation

This will appear as a link with the text ‘(why?)’. To change the wording:

?feedfacebook&why=URL of explanation&whytext=Facebook is evil!


Examples of Feed Output


If you find this piece of code useful, please consider donating. I’m a student working on these projects in my spare time. This site carries no advertising and I release most of the code I work on under a free software license. I don’t receive any payment for this work so I have to rely on donations if I want to put off becoming a wage slave. Your contribution (whatever the amount) would be greatly appreciated.

Paid Support

If you run a commercial site and you need help with feeds. Feel free to get in touch: keyvan (at) keyvan.net


  1. JM
    Posted 28 October 2010 at 7:05 am | Permalink

    Used to work fine. Now it places the entire post on FB, which I do not want to do. How do I change this? Thanks!

  2. Posted 28 October 2010 at 12:03 pm | Permalink

    JM: Can you post a URL of your feed?

  3. include 1st image?
    Posted 6 January 2011 at 2:31 pm | Permalink

    Hi, is there a way how to include the first image of every post into the feed (like the plugin WP RSS Images does), and do you know if Facebook can handle them and display properly? Thanks!

  4. Posted 1 March 2011 at 10:37 pm | Permalink

    Absolutely positively wonderful app. This is exactly what I’ve been looking for for years. I’m so sick of using the “More” tag.

    This App Rules!

    (Oh, and yes I tested it and it works too.)

  5. Kelly
    Posted 27 April 2011 at 12:01 am | Permalink

    I’m a beginner when it comes to this. I’m looking for a plugin that will automatically publish my posts from wordpress to facebook. Is that what this does?

    I’ve downloaded the plugin activated it but I’m not sure what to do next. This just isn’t making sense to me: “querystring feedfacebook appended to the end.”

    Thanks for your help!!!! I’m sorry I just need it in Layman terms, so to speak! Do I need to do anything on Facebook or put my website URL into anything.

  6. Posted 27 April 2011 at 12:42 pm | Permalink

    Regarding ‘include first image’ – it might be possible but last time I checked Facebook did not include images even when they appeared in feed content.

    @tekHead: thanks!

    @Kelly: Facebook can already automatically publish WordPress posts if you register your feed with it. You don’t need a plugin to achieve this. See http://www.facebook.com/editnotes.php?import – all you need is your WordPress feed URL, which should look something like this: http://your_blog_address?feed=rss2 . With this plugin you are simply giving Facebook a shorter version of your feed so users are encouraged to come to your site to read the full content. If you want to do that, you enable the plugin and simply add feedfacebook to the end of your existing feed URL, e.g. http://your_blog_address?feed=rss2&feedfacebook

2 Trackbacks

  1. […] install and activate the Feed Facebook, Leave Facebook […]

  2. […] to get posts from your blog to appear as posts on your Facebook wall. My previous solution, Feed Facebook, Leave Facebook, took almost a month between the time when the article was posted on my blog and it finally found […]

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Subscribe without commenting