Php 如何更改fb评论帖子中的缩略图?
当我通过自己创建的网页发表评论时,Facebook会尝试从该特定页面检索一些图像,并根据需要选择一个缩略图。如何选择此缩略图的图像?向页面添加og:image meta标记。有关更多信息,请参见Php 如何更改fb评论帖子中的缩略图?,php,facebook,image,facebook-graph-api,Php,Facebook,Image,Facebook Graph Api,当我通过自己创建的网页发表评论时,Facebook会尝试从该特定页面检索一些图像,并根据需要选择一个缩略图。如何选择此缩略图的图像?向页面添加og:image meta标记。有关更多信息,请参见 不要忘记,您需要让html标记如下所示: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://developers.faceboo
不要忘记,您需要让html标记如下所示:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://developers.facebook.com/schema/">
这里还有一篇关于这个话题的好文章
如中所述:数据可以由facebbok缓存,您可以在此处通过专门的facebook调试工具进行检查:谢谢终于og:图像影响了帖子。但是:当我说:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://developers.facebook.com/schema/">