Facebook Like button

I recently got a social fb plugin. In particular, the Like button for my site. Everything works fine, only when I press the button, it reads "Do you like: http://www.branchout.com/index.php? Id = 3"

I don’t want him to say which URL I like. I want him to say the content of what I like (in this case, a quote).

Another one, my domain name is "thebranchout.com" and not "branchout.com"

and thoughts guys?

The head of the code is this:

<head>
<title><?php echo $last; ?>) <?php echo $first; ?></title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="Sharing stuff, quotes, politicians, athletes" />
<meta name="keywords" content="Sharing stuff, quotes, politicians, athletes" />
<meta property="og:title" content="(<?php echo $last; ?>) <?php echo $first; ?>"/>
<meta property="og:type" content="song" />
<meta property="og:type" content="cause"/>
<meta property="og:url" content="http://www.thebranchout.com/index.php?id=<?php echo $jeeves; ?>"/>
<meta property="og:site_name" content="The BranchOut"/>
<meta property="og:description" content="(<?php echo $last; ?>) <?php echo $first; ?>"/>
<link rel="stylesheet" type="text/css" href="style-wampler.css" media="" />
<script type="text/javascript" src="JS/jquery-1.3.2.min.js"></script>
<script src="JS/jquery.jqEasyCharCounter.min.js" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function(){
        $("#slide").hide();

    $('.button').click(function checkPass(){
        $("#slide").slideDown(); 
    });

    $('textarea#limit').jqEasyCounter({
        'maxChars': 99,
        'maxCharsWarning': 95,
        'msgFontSize': '14px',
        'msgFontColor': 'black',
        'msgFontFamily': 'Verdana',
        'msgTextAlign': 'left',
        'msgWarningColor': 'red',
        'msgAppendMethod': 'insertBefore'               
    });
});
</script>

IFrame is:

<iframe src="http://www.facebook.com/plugins/like.php?href=thebranchout.com/index.php?id=<?php echo $jeeves; ?>&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=lucida+grande&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
+3
source share
3 answers

Connect your page to the Linter URL and it will tell you how facebook captures information about your page.

+5
+1

I think facebook is parsing the page to use the information. Verify that the page at this URL has a valid title specified in the title. I'm not sure what they are trying to use for description, etc. However.

0
source

Source: https://habr.com/ru/post/1774549/


All Articles