Search code examples
facebookpage-title

facebook "i like" question


I'm using facebook "i like" on my site. facebook uses the title tag of the page as what the person likes. is there a way to add a different title instead of defaulting to the title tag of the page?


Solution

  • You need to add OpenGraph property "title" inside the "head" tag of your site for that:

    <meta property="og:title" content="Title for FB" />
    

    You can then use linter to check if what Facebook thinks about your page is okay with you.