• I was browsing through some articles in my RSS reader when I realized that some of the articles had links on them that would add the article to the viewers Facebook account. I thought that it would be a nice idea to add this functionality to my WordPress blog so I searched for a plugin that would do this. Unfortunately I couldn’t find one. So I wrote one myself.

    The Add To Facebook plugin adds a link to the bottom of each post and page on your blog with the text “Share on Facebook”. When clicked the user will be brought to the Facebook login page and, after they log in, the article will be added to the Mini-Feed section of their profile.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Here’s the url for the plugin:
    http://nothing.golddave.com/?page_id=108

    Is there any way to pick and choose which templates/pages this shows up on?

    Feedburner has the option to include an Add to Facebook link in your Feedburner feed, at the end of each post. Just dig around in the Publicize options.

    I have a website where I removed the categories and instead only have tags at the end of the post. I put in the code:
    add_filter('the_tags', 'add_to_facebook'); to replace add_filter('the_categories', 'add_to_facebook');, and it worked – temporarily. Now, however, it isn’t – but I haven’t changed anything with regards to these two pieces of the template – the tags filter is still present in the template, and the plugin still says the_tags instead of the_categories. I don’t even know what to ask because it’s too baffling.

    Okay, it came back when I put add_filter('the_content', 'add_to_facebook');, but it’s showing up on every page. I’m not using categories, so I’ve removed that from my template. I only want this to show up on blog pages, not on actual pages with static content on them. How would I go about doing that?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add To Facebook Plugin’ is closed to new replies.