Simple Facebook Connect
SFC generating two sets of meta-tags, causes title to be duplicate (3 posts)

  1. ObnoxiousMag
    Posted 3 years ago #

    My site is http://obnoxi.us

    I'm getting a doubling up of FB Meta Tags in the header, which is causing some social sharing sites (like Google+) to incorrectly interpret the title as a concatenation of both strings. Here's an example of what's generated:

    <meta property='og:type' content='article' />
    <meta property='og:title' content='Blogs from the Edge' />
    <meta property='og:url' content='http://obnoxi.us/uncategorized/blogs-from-the-edge/' />
    <meta property='og:description' content='My first drug dealer was my mother. It began when I was about five or six, and innocently enough. She'd give me Dramamine on car trips with a sort of conspiratorial grin, ostensibly to keep me from getting carsick. [...]' />
    <meta property='og:image' content='http://obnoxi.us/wp-content/uploads/2011/09/pills550.jpg' />
    <link rel='image_src' href='http://obnoxi.us/wp-content/uploads/2011/09/pills550.jpg' />
    <meta property='og:image' content='http://obnoxi.us/wp-content/uploads/2011/09/pills300.jpg' />
    <link rel='image_src' href='http://obnoxi.us/wp-content/uploads/2011/09/pills300.jpg' />
    <meta property='og:site_name' content='obnoxi.us' />
    <meta property='fb:app_id' content='211465105538539' />

    Any ideas?


  2. Samuel Wood (Otto)
    WordPress.org Tech Guy
    Plugin Author

    Posted 3 years ago #

    SFC automatically generates those meta tags as needed. If you have some other plugin also generating them, then remove that other plugin.

  3. ObnoxiousMag
    Posted 3 years ago #

    Thanks, Otto. I went through each of them, and found the conflict. I disabled Facebook likes on the other plugin (which handles G+ and Twitter). I was curious if I could replace their FB Like function with your manually placed shortcode...do you think that would work wrapped inside another plugin? I'm not sure the scope of your function, and haven't had a chance to test it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic