1

I'd like to have a Facebook Like Button (not a Facebook share, which is available) through Jetpack. There is a "Add a new service" and I've tried various parts of code from all over but always gets an "An error occurred creating your new sharing service - please check you gave valid details."

Anyone knows howe to do this?

closed as off-topic by Pieter Goosen, birgire, Johannes Pille, mrwweb, Nicolai Sep 20 '14 at 12:15

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic." – Pieter Goosen, birgire, Johannes Pille, mrwweb, Nicolai
If this question can be reworded to fit the rules in the help center, please edit the question.

3
  1. Go to Settings > Sharing in your dashboard
  2. Sroll down until the "Button Style" option.
  3. Choose "Official Buttons".

The Facebook Share button has now changed into a Facebook Like Button. Save your changes, and you'll be good to go!

If you want to add a Facebook Share button next to the Like button, you can use the "Add a new service" option:

  • In "Service Name", type in "Facebook"
  • In Sharing URL, enter http://www.facebook.com/sharer/sharer.php?u=%post_full_url%
  • In Icon URL, enter a link to the Facebook icon of your choice.

And save changes.

  • Thanks! Out of curiosity, this "Button Style" -change, doesn't it change the facebook service completely? I mean "share" and "like" are not the same. – BoBoz Aug 15 '13 at 15:32
  • 1
    It does indeed completely change the service. The "Official Button" is the official Like button, while the "Icon + Text", "Icon", and "Text" button types are share buttons. – jeherve Aug 15 '13 at 18:18
  • Room for UX improvement. They should be two different services. Also you might want to use them both at the same time. – BoBoz Aug 15 '13 at 18:28
  • If you want to use both at the same time, you can follow the instructions I posted above. – jeherve Aug 15 '13 at 18:29
  • Perhaps this should be a separate question: If I would like the icons to be without text or count, I could just choose some of the alternatives in "Button Style". But this doesn't work for Facebook since this changes it's function from "Like" to Share. So how do I create a new Facebook like button in "Add new service" with or without text/count? – BoBoz Aug 16 '13 at 14:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.