我正在尝试利用带有开放图元标记的富文本消息。因此,我已将元标记包含在我的网站头部中,并且它通过了所有 Facebook 调试和 iOS API 验证工具。
然而,当我通过短信将链接发送给 Android 或 iOS 上的人时,它通常不起作用。它通常与 Facebook Messenger 配合使用
有谁知道这是手机运营商的问题还是我的配置有误?
<meta property="fb:app_id" content="********" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://dameranchdesigns.com/" />
<meta property="og:title" content="Dame Ranch Designs" />
<meta property="og:description" content="Divinely inspired logo graphics and
website design. A whole new way of being ... on the internet." />
<meta property="og:image"
content="https://dameranchdesigns.com/images/logos/DRDSunLncropped.png" />
Yetter,
一些快速的事情可以帮助您:
Apple 仅从 iOS 10 及以上版本开始支持丰富短信的 Open Graph,因此请确保您要测试发送短信的设备至少为 iOS 10(或更高版本)
苹果只支持og:title
and og:image
。它忽略其余部分(所以在上面的示例中,og:description
被完全忽视。此外,如果您的og:image
是 gif 图像,Apple 不支持。
短信中的网址必须位于其自己的“单词”上,这意味着它与文本中的任何其他单词之间至少需要有一个空格。此外,也许最重要的是,它需要指定一个方案,因此:http://
or https://
.
您只能有一个带有 og:tags 的超链接到您的网站。不止一个关闭此功能。
最后,我不相信 Android 在其 SMS 中支持如此丰富的消息传递功能(至少不支持 Open Graph)——至少据我所知(2017 年 11 月)。如果他们采用 OG 作为标准那就太好了。
例如,这些是行不通的:
-
you were invited. You can join on: grapevite.com
//没有方案存在
-
you were invited on http://grapevite.com. Care to join?
//链接位于文本之间。
而这些会起作用:
you were invited on Grapevite. http://grapevite.com
-
http://grapevite.com. The world's premier platform for creating, sharing and joining experiences
参考阅读:
诸如此类的一些网站将为您提供有关上述内容的一些见解:https://uplandsoftware.com/mobile-messaging/resources/blog/what-ios-10-means-for-mobile-messaging/ https://uplandsoftware.com/mobile-messaging/resources/blog/what-ios-10-means-for-mobile-messaging/
https://www.tatango.com/blog/ios-10-what-sms-marketers-need-to-know-and-do/ https://www.tatango.com/blog/ios-10-what-sms-marketers-need-to-know-and-do/
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)