Facebook LIke and Article Title (1 post)

  1. blckenedicekaj
    Posted 5 years ago #

    I have tried a variety of plugins and code to try to make my blog appear in this format when someone likes the page:

    'Username' likes 'Article Title' on writersblockmedia.net

    Instead it always appears as 'Username' likes writersblockmedia.net.

    I have tried the opengraph method with no success. This is the code I am using:

    // start of fb like code

    <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show_faces=false&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:60px"></iframe>

    // end of fb like code

Topic Closed

This topic has been closed to new replies.

About this Topic