Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question

closed as off-topic by Pieter Goosen, birgire, Johannes Pille, mrwweb, ialocin Sep 20 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, ialocin
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 3 down vote accepted
  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.

share|improve this answer
    
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
    
My bad, thanks! –  BoBoz Aug 15 '13 at 19:03

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