我最近有一个fb社交插件。特别是,我的网站的“赞”按钮。一切正常,只是当我点击按钮时,它会显示“您喜欢:http://www.branchout.com/index.php?id = 3”Facebook Like button
我不想说什么我喜欢的网址。我想让它说出我喜欢的内容(在这种情况下,它是一个引用)。
还有一两件事,我的域名是 “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>
代码会有帮助。 – 2010-11-12 15:46:25
当然。这里是: – 2010-11-12 15:51:30