我已經爲我的應用程序添加了一個Facebook共享按鈕,它在頁面上正確顯示。我用下面的代碼: https://developers.facebook.com/docs/plugins/share-button/Facebook共享按鈕不能共享
當我點擊一個彈出窗口與正確的內容的按鈕,我可以點擊「發佈到Facebook」
當我做的項目出現在我的飼料完美,但即使隱私設置是正確的,其他人也無法看到它。
任何想法......?
<html>
<head>
<title>Your Website Title</title>
<!-- You can use Open Graph tags to customize link previews.
Learn more: https://developers.facebook.com/docs/sharing/webmasters -->
<meta property="og:url" content="http://www.your-domain.com/your-page.html" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Your Website Title" />
<meta property="og:description" content="Your description" />
<meta property="og:image" content="http://www.your-domain.com/path/image.jpg" />
</head>
<body>
<!-- Load Facebook SDK for JavaScript -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Your share button code -->
<div class="fb-share-button"
data-href="http://www.your-domain.com/your-page.html"
data-layout="button_count">
</div>
</body>
</html>
你需要把你的代碼放在問題中,而不是鏈接到facebook文檔,甚至沒有指向代碼 –