更新时间:2023-12-02 15:31:16
你可能想看看 Facebook Open Graph Protocol,尤其是.如果你的照片可以有自己的页面,头部带有元标记.
You may want to look at The Facebook Open Graph Protocol, esp. if you're photos can have a page of their own, with meta tags in the head.
参见(在对象类型部分的底部)
See (at the bottom of the Object Types section)
将文章用于表示临时内容的任何 URL - 例如新闻文章、博客文章、照片、视频等.
Use article for any URL that represents transient content - such as a news article, blog post, photo, video, etc.
这可能适合您的需要(并且应该允许您在图像旁边放置一个赞按钮).如果没有,请查看 Facebook 开发者文档.
This may suit your needs (and should allow you to place a like button next to the image). If not, take a look through the facebook developers docs.