我正在面对共享按钮与我的网站集成的问题。 当我点击共享它只显示我的网站url.It不显示图像和说明可能是什么问题?Facebook分享按钮与说明整合,imgae问题!
下面是我的代码:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Welcome Facebook Read Eval Log Loop</title>
<meta name="description" content="Examples for the Facebook Platform.">
<meta name="keywords" content="facebook, connect, facebook connect, javascript, examples, javascript sdk, javascript library, library, howto, tutorial, api, facebook apisdk">
<meta property="fb:admins" content="5526183">
<meta property="fb:app_id" content="123865001025929">
<meta property="og:image" content="https://fbrell.com/logo.jpg">
<meta property="og:type" content="website">
<meta property="og:url" content="http://fbrell.com/">
</head>
<body>
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
appId : '123865001025929',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
</script>
<fb:share-button href="http://fbrell.com" type="button"> </fb:share-button>
</body>
</html>
不,它不起作用....请帮忙 – user746909 2011-05-16 17:09:22
@ user746909你检查了linter链接吗?信息和图像是否正确? http://developers.facebook.com/tools/lint/?url=http%3A%2F%2Ffbrell.com%2F – dwarfy 2011-05-16 17:11:51
有错误警告 必填属性丢失og:标题是必需的我该如何解决它 – user746909 2011-05-16 17:13:14