facebook - Facebook 链接共享者预览图像未在某些手机上显示完整预览
问题描述
我的网站包含在 facebook 上分享所需的所有元标记。图片、url、site_name、app_id、title、description 等所有必要的东西。
但是当有人分享页面时,它不会在某些手机上显示图像的完整预览。在网络和其他一些电话上它工作正常。
我什么都试过了。我阅读了有关网络共享的 facebook 完整文档。我尝试了 1200x630 像素的推荐尺寸,也是 600x315 像素的最小尺寸。问题仍然存在。手动设置 og:image:width 和 height 也不会真正做出任何改变。
``` <meta property="fb:app_id" content="<<PAGE ID>>" />
<meta property="og:site_name" content="<<Site Name>>" />
<meta property="og:url" content="<<URL>>" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Some title" />
<meta property="og:description" content="Play now" />
<meta property="og:image" content="<<image url>>" />
```
解决方案
推荐阅读
- python - Python 导入的类和列表中的列表
- kotlin - Kotlin 中的解构声明
- node.js - 如果我在应用程序中有多个版本的节点,如何维护 websocket 连接
- java - 如何处理字谜搜索期间字符串排列的时间复杂度?
- arrays - 计算一行内的特定值
- python - Flask 和 Python:在 POST 之后记住表单数据
- reactjs - redux 商店的最大大小?
- python - 使用 OpenCV 检测图像中已知形状/对象的方法
- python - Python如何在多下载中使用线程
- javascript - Moment.js 在使用 toDate() 和 format() 时检索不同的日期