Недавно я получил социальный плагин fb. В частности, кнопка «Мне нравится» для моего сайта. Все работает нормально, это просто, когда я нажимаю на кнопку, она читает «Вам нравится: http: //www.branchout.com/index.php? Id = 3»Facebook Like button
Я не хочу, чтобы он говорил, что Мне нравится URL. Я хочу, чтобы он сказал содержание того, что мне нравится (в данном случае это цитата). более
Одна вещь, мое доменное имя "thebranchout.com", а не "branchout.com"
и мысли, ребята?
Глава кода заключается в следующем:
<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 это:
<iframe src="http://www.facebook.com/plugins/like.php?href=thebranchout.com/index.php?id=<?php echo $jeeves; ?>&layout=standard&show_faces=true&width=450&action=like&font=lucida+grande&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
Код был бы полезен. –
Несомненно. Вот он: –