Search code examples
facebookapifacebook-graph-apifacebook-like

How do I make my website facebook likes correspond to my Facebook page likes?


I am sure this question is answered all over the internet but I must have terrible research skills because I can't find it anywhere and I've been looking for hours. I have a website, avidest.com, that has a facebook like button on the top. I have a facebook page, also called avidest, located at https://www.facebook.com/pages/Avidest/491828310878179 How do I make it so that a like on the Facebook page is the same as a like on the main page and vice versa? Thanks for your help.


Solution

  • The like button on your website needs to refer to your facebook page. To do this just change

    <fb:like href="http://www.avidest.com" send="true" layout="button_count" width="450" show_faces="false"></fb:like>
    

    to

    <fb:like href="https://www.facebook.com/pages/Avidest/491828310878179" send="true" layout="button_count" width="450" show_faces="false"></fb:like>
    

    and users who click the like button on your homepage will like your Facebook page.

    Check out "Can I link the Like button to my Facebook page?" on https://developers.facebook.com/docs/reference/plugins/like/