I want to add a like button on my website that will allow the user to l*ike a page*
I can't seem to find any documentation on this. I simply want to hook it up to an anchor tag.
Something like
Like my page
How can I do this?
for like button follow that doc
https://developers.facebook.com/docs/plugins/like-box-for-pages/
for like button follow that doc
https://developers.facebook.com/docs/plugins/like-button/
Related
I know that Facebook provides some code to add one of their like buttons to webpages, but what I need to do is create a custom button which does the same thing. So for example:
<input type="button" value="Like" id="fb-like"/>
I would like that button to send an action to like the website because I can apply custom styling to it which looks a lot better than FB's own bright blue buttons.
Is this possible? I can't find the code to make a custom like button work.
So, when I click Like button I see the form to add some comment. I want to hide or prevent displaying this form. How to do that?
See this Facebook Like Button - how to disable Comment pop up?
Basically you just need to modify the css and hide the comment box after facebook like.
Now our requirement like this:
We have a like button on one page, user can click that like button and type comment in the popup comment box.
Question is how to get all the comment of like button of specified page? We want to show all these comments in another place of this page.
We have a like button on one page, user can click that like button and type comment in the popup comment box.
If the user types a comment into the box popping up when using the like button, the result is not a comment, but a link share of the URL – so that’s an individual post on that user’s wall.
I had a little look around the FQL tables, but I did not find anything that would give you the resulting post without knowing the actual user who used the like button.
I just added a Facebook like button to my website, just the most basic one, but you can't select to hide the "Sign Up to see what your friends like." text.
Because the area for the button is so small, I don't want this text, as it overlaps with other text next to it.
Is there a way to hide this part?
I basically just want the like button, with the same functionality.
You would have probably figured it out by now but for others who haven't and reach this question, try data-layout="button_count".
You can play around here for more options: https://developers.facebook.com/docs/reference/plugins/like/
You can add layout="simple" (XFBML), or "data-layout"="simple" for HTML5 to the tag.
That'll show just a like button, with no count, faces or nonsense :)
I have add like button on my webpage www.zabavax.com (iframe). Count is work ok, but like button doesn't share post (link) on Facebook.
P.S. Like button on the left side and after post. When i click on right or after post like button liked link dont show on my Timeline and on friends news feed
I think Facebook has changed the behaviour of the like button. A link will be shared ONLY if the user adds a comment.
Your like button in the top right corner of your URL functions correctly.
I was able to post to my profile when I clicked on it.
I believe your issue is with the first-time popup that appears (also with its own like button) When I clicked that like button the popup disappeared and I didn't manage to post to my profile.