Facebook分享链接未显示帖子中图像的缩略图?
6 个回答
- 投票数
-
- 2011-03-21
<meta property="og:image" content="http://alexchen.info/taiwantalk/wp-content/uploads/2011/03/cheating.png" />
访问 http://developers.facebook.com/docs/reference/plugins/like/,然后参阅"第2步-获取开放图标记"
还有很多WP插件可以帮助您生成Open Graph标签.
<meta property="og:image" content="http://alexchen.info/taiwantalk/wp-content/uploads/2011/03/cheating.png" />
Visit http://developers.facebook.com/docs/reference/plugins/like/ and see "Step 2 - Get Open Graph Tags"
There's also a lot of WP plugins out there that can help you to generate Open Graph tags.
-
- 2011-04-20
Facebook在共享页面时会缓存有关该页面的信息.您可以使用 URL Linter 刷新缓存并查看FB在页面上的确切信息.短绒棉在这些问题上给了我很大帮助.
Facebook caches information about a page when share it. You can use the URL Linter to refresh the cache and see exactly what info FB has on your page. The linter has helped me quite a bit with these issues.
-
更新到新映像后的第二天,我也遇到了同样的问题,然后今天我注意到它显示了新映像,因此我认为必须将其缓存,感谢您验证I had this same issue the other day after updating to a new image, then I noticed today that it shows the new image so I was thinking it must be cached, thanks for verifying that
- 0
- 2012-03-20
- JasonDavis
-
- 2011-03-20
您需要将图像源meta标签添加到文档的head标签.
<link rel="image_src" href="http://site.com/image.jpg" />
You need to Add a image source meta tag to the head tag of your document.
<link rel="image_src" href="http://site.com/image.jpg" />
-
仍然无法正常运作,请参阅我的编辑.Still doesn't work please see my EDIT.
- 0
- 2011-03-21
- janoChen
-
- 2011-08-09
Open Graph是必经之路!放置打开的图形元标记,然后使用Facebook Linter检查您所有的数据是否都是正确的.
Open Graph is the way to go! Put the open graph meta tags, and then use Facebook Linter to check if all your data comes through right.
-
- 2012-03-20
只需删除URL开头的'http://www.'以及最后一个末尾的'/',它就可以正常工作.为我修复此问题!
Just remove the 'http://www." from the front of the URL as well as the last trailing '/' and it should work. Fixed it for me!
-
- 2011-09-11
我尝试了OG标签以及几乎所有在互联网上被建议过的所有其他内容,但都无济于事.这几乎使我发疯,所以最后我编写了自己的一点业余代码,这些代码终于奏效了.它仅将标题和图像以及摘录发布到用户fb墙上.它对我有用,所以我为此写了一个教程 https://www.facebook.com/imperialantiques?v=app_100783790015943
I tried the OG Tags and pretty much everything else that has ever been advised all over the internet and none of it worked. It just about drove me crazy, so in the end I wrote my own little bit of amateur code which finally works. It simply posts the Title and the image, with an excerpt onto the users fb wall. It worked for me so I put up a tutorial for it https://www.facebook.com/imperialantiques?v=app_100783790015943
-
如果不通过跳圈将其他人发送到您甚至无法查看的地方,那么对于Stack Exchange标准来说,答案很差.请考虑在此处发布完整信息,或以其他方式将其提供给网站的所有访问者.否则可能会被删除.Sending others off to somewhere you can't even view without jumping through hoops makes very poor answer by Stack Exchange standards. Please consider posting full info here or making it accessible in other way to all visitors of the site. Otherwise it's likely to get deleted.
- 0
- 2011-09-11
- Rarst
-
[答案不只是指向外部站点的链接](http://wordpress.stackexchange.com/faq#deletion).请添加解决方案.[An answer should be more than just a link to an external site](http://wordpress.stackexchange.com/faq#deletion). Please add a solution.
- 0
- 2012-05-01
- fuxia
通常,facebook共享会从网站上获取要发布的图像并将其显示为缩略图.
如果在我的测试页中按"在Facebook上共享此链接",则不会.
这是我的测试站点: http://alexchen.info/taiwantalk/
这是代码:
编辑:
我添加了所有必要的元标记和链接:
但这是唯一显示的内容:
有什么建议吗?