簡體   English   中英

無法通過我的 web 頁面與 facebook 上的 url 共享圖像和標題?

[英]Unable to share image and title with url on facebook through my web page?

無法與 url 共享圖像和標題,還在頁面中添加了圖像和標題的元標記,但可以正常工作。 共享工作正常,但顯示站點其他圖像,未顯示我提供的圖像。 也沒有顯示我的標題。 我的代碼:

我在下面的 header 中使用了元標記

<meta property="og:url"                content="http://www.nytimes.com/2015/02/19/arts/international/when-great-minds-dont-think-alike.html" />
<meta property="og:type"               content="article" />
<meta property="og:title"              content="When Great Minds Don’t Think Alike" />
<meta property="og:description"        content="How much does culture influence creative thinking?" />
<meta property="og:image"              content="http://static01.nyt.com/images/2015/02/19/arts/international/19iht-btnumbers19A/19iht-btnumbers19A-facebookJumbo-v2.jpg" />



<a class="facebook" href="http://www.facebook.com/sharer.php?u=http://www.example.com?id=123" title="Facebook" target="_blank"><span class="soc-font-icon"></span><span class="social-text">Share on Facebook</span><span class="screen-reader-text">Share on Facebook</span></a> 

Facebook 的共享調試器可以幫助您找出問題所在: https://developers.facebook.com/tools/debug/

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM