• I have been struggling to add facebook like button to indivual blog posts. However button that I put in blog posts is just “like” home page not pick single blog posts. Even I click like button in single blog posts it just keeps “like” home page.

    The method I implement the like button is iframe. I tried fbml version as well

    I dont want to use facebook like button plugin of wordpress. I would like to add the button by manuel

    I would appreciate if you could help me what have done wrong ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Some possible pitfalls I can think of off the top of my head…
    *Are you including the Open Graph meta information in the page’s head? It’s often not enough to just add the button – the meta data needs to be added too.
    *On the button code and/or the meta data, are you adding a URL? The XFBML version defaults to the current page if left blank. Might be best to explicitly add this if it’s missing… just point it to the current page (get_permalink()). Using your homepage URL will point all like buttons to the home page.

    Documentation on the like button is available at https://developers.facebook.com/docs/reference/plugins/like/.

    I hope this helps!

    Thread Starter node1

    (@node1)

    zimmi88 I didn’t specify permalink in the button code. so I added permalink it solved my issue. You saved my hours thank you 🙂

    Actually I was expecting the button code pick url automatically 🙂 that is why I didn’t think of url

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding like button to individual blog posts’ is closed to new replies.