You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked into adding this, but it seems like you have to go through a somewhat involved process to register for a Facebook developer's account in order to add a like button to your site. I wasn't interested in jumping through all those hoops, to find out how I could add a like button. If you have a developer account and want to help, I'd love to know how I can add support.
Just like with the other sharing plugins, It would be nice if I could just add a generic code snippet and provide a place to enter the configurations in the _config.yml. Is that something you'd like to help with?
had a look at this. When I go to the facebook developers page to generate the 'like' button code it embeds my appID.
So I think you do need an app registered. Its easy to do, I generated a new one the other day when adding in the timeline feature for testing.
for this, I added: # Facebook Like facebook_app_id: yourappIDhere
to the config.yml file and amended sharing.html to include:
Activity
imathis commentedon Sep 25, 2011
I looked into adding this, but it seems like you have to go through a somewhat involved process to register for a Facebook developer's account in order to add a like button to your site. I wasn't interested in jumping through all those hoops, to find out how I could add a like button. If you have a developer account and want to help, I'd love to know how I can add support.
Just like with the other sharing plugins, It would be nice if I could just add a generic code snippet and provide a place to enter the configurations in the _config.yml. Is that something you'd like to help with?
joshkerr commentedon Sep 25, 2011
Its actually really easy.
Just go here and generate some code:
https://developers.facebook.com/docs/reference/plugins/like/
You do not need a developer account to do it.
Burnsoft commentedon Sep 25, 2011
had a look at this. When I go to the facebook developers page to generate the 'like' button code it embeds my appID.
So I think you do need an app registered. Its easy to do, I generated a new one the other day when adding in the timeline feature for testing.
for this, I added:
# Facebook Likefacebook_app_id: yourappIDhereto the config.yml file and amended sharing.html to include:
The height of the like box is not great, so if anyone can assist with that it would be great. cheers Nik
Burnsoft commentedon Sep 25, 2011
ahh, mine had an appID as I was logged in an recently generated the App!
add this to your sharing.html:
and this to your config.yml
# Facebook Likefacebook_like_button: truestill needs tweaking. maybe putting in a specific locatio div?
anyway, hope its of use. see how it looks on burnsoft.github.com/blog
joshkerr commentedon Sep 26, 2011
I'd prefer if it could be on the same line as the other sharing buttons.
Burnsoft commentedon Sep 26, 2011
agreed. just not sure how to do that ;-)
boamaod commentedon Jun 24, 2012
To get FB button on the same line as other buttons I added
.fb_iframe_widget span { vertical-align: baseline !important; }to
sass/custom/_styles.scssMerge pull request imathis#210 from xdworks/294accde545a7213b274c5b62…
spasticninja commentedon Jul 29, 2014
I was previously having an issue with the alignment of the facebook likes button. Similar to above, I added:
.fb-like{ vertical-align:top; margin-top:0px; }to
sass/custom_styles.scss