我正在使用facebook分享。
因此,为了自定义共享图像和文本,我使用以下代码
<a href="http://www.facebook.com/sharer.php?s= 100&p[title]=Mulankidz&p[url]=<?php echo $url;?>&p[images][0]=http://www.mulankidz.com/images/vie.gif&p[summary]=Welcome to MuLan Educational Games, a unique portal that specializes in online educational games for kids." class="facebook" title="Facebook" target="_blank"></a>
当我尝试共享页面时,它显示了我在上面的代码中使用的内容和图像..
但是在按下分享按钮后,它在我的时间轴上共享..这显示了以下内容..
这是我的网站链接,我点击Facebook图标时使用上面的代码分享。 website page link here
我不知道..为什么它在分享后以不同方式显示内容和图片..
任何帮助......和可接受的建议
答案 0 :(得分:2)
您需要提供
<meta property="og:image" content="url to image" />
在您的页面上让FB在发布时阅读图像。
在这里阅读如何操作
http://moz.com/blog/meta-data-templates-123
更新
我为你的网址尝试了facebook调试工具 https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.mulankidz.com%2Fvideos%2Fvideos.php
这让我跟着 -
og:image should be larger
Provided og:image is not big enough.
Please use an image that's at least 200x200 px.
Image http://www.mulankidz.com/videos/../images/star.gif
will be used instead.
您需要提供至少200x200像素的图像
答案 1 :(得分:0)
您可能在创建应用程序后更改了图像。尝试从developer.facebook.com重新创建应用程序。希望它会生效。