(PressGraph) Facebook Like
[Plugin: Facebook Like Button] Property og:description not working good (8 posts)

  1. Wiki Chaves
    Posted 5 years ago #


    I'm using FB Like Plugin and I'm having troubles with the OG Description meta tag.

    In my blog instead of using the_excerpt(); the property is using the_title(); I've checked the code and seems OK, but for some reason is not working.

    If you take a look at this post you will see


    <meta property="og:description_BKP" content="Social media for B2B"/>

    I have to add the "_BKP" to cancell the property since it was generating problems when I've shared it, but you can see that is the property is not using the_excerpt() but the_title()

    Any Idea ?


  2. perbeppo
    Posted 5 years ago #

    I have the same problem.

  3. Wiki Chaves
    Posted 5 years ago #

    Hi, any news about this ?

  4. Ahmed Hussein
    Plugin Author

    Posted 5 years ago #

    Working on it...

  5. Mike McKoy
    Posted 5 years ago #

    Hey was this ever resolved? I'm having the same issue. Is there a way to clear it?

  6. Wiki Chaves
    Posted 5 years ago #

    hmm, i don't think so :(

  7. dszabo
    Posted 5 years ago #


    Is there a solution for this problem?


  8. Aahan Krish
    Posted 5 years ago #

    SOLUTION: Use this plugin instead http://wordpress.org/extend/plugins/facebook-opengraph/

    It's not mine, and I had the same problem too. But it was easier to get it to work.

    Once you download the plugin's archive file, extract it, open index.php inside the folder.

    In about line 18 (commented //Description) you will find this:
    $parametros[]= substr(strip_tags(get_the_content()), 0, 250)." ..." ;

    Change it to:
    $parametros[]= substr(get_the_excerpt(), 0,160)."..." ;

    NOTE: Change 160 to the no. of characters you want your description to show.

    It worked for me, it may or may not work for you. But I hope that helps someone with similar issues. Cheers!

    I actually answered it here: http://wordpress.org/support/topic/plugin-facebook-open-graph-meta-in-wordpress-open-graph-description?replies=2#post-2219809

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • (PressGraph) Facebook Like
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic