共享网址链接未在Facebook上显示缩略图 [英] Sharing url link does not show thumbnail image on facebook

查看:139
本文介绍了共享网址链接未在Facebook上显示缩略图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些提供Facebook共享的示例网址.但是,URL页面内的图像未显示在Facebook注释框上.我已经插入了这样的元标记

I have some example url that provide for facebook sharing. But the image inside the url page does not show on facebook comment box. I have already inserted Meta tag like this

<meta property="fb:app_id" content="xxxx"/>
<meta property="og:site_name" content="xxxx"/>
<meta property="og:title" content="xxxx" />
<meta property="og:description" content="xxx" />
<meta property="og:type" content="xxx:photo">
<meta property="og:url" content="http://www.example.com/content/xxx"/>
<meta property="og:image" content="http://www.example.com/images/xxx.png"/>

*我的图片是1000 * 1000 px(宽*高).

*And my image is 1000*1000 px(width*height).

有解决的主意吗?

推荐答案

您的元标记应如下所示:

Your meta tag should look like this:

<meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/>

并且必须将其放置在您要共享的页面上(这在您的问题中尚不清楚).

And it has to be placed on the page you want to share (this is unclear in your question).

如果您在图像(或meta标签)出现之前共享了页面,则有可能Facebook在其内存"中包含了页面而没有图像.在这种情况下,只需在调试工具 http://developers.facebook.com/tools中输入页面的URL /debug .之后,该图像应在下次共享页面时显示.

If you have shared the page before the image (or the meta tag) was present, then it is possible, that facebook has the page in its "memory" without an image. In this case simply enter the URL of your page in the debug tool http://developers.facebook.com/tools/debug. After that, the image should be present when the page is shared the next time.

这篇关于共享网址链接未在Facebook上显示缩略图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆