回答

1

您必须使用Facebook API的财产og:image这样:

<html> 
    <head> 
     … 
     <meta property="og:image" content="path_of_image" /> 
    </head> 
    <body> 
     … 
    </body> 
</html> 

您可以找到有关的Open Graph更多信息协议hereFacebook的内容共享here

+0

我的图像被通过Php在div标签中动态生成,无论如何,我可以完成那件事 –

+0

只需在路径中添加生成图像的PHP代码,如下所示: ”/> –

相关问题