我可以在 Open Graph 中使用相对路径吗?
Can I use relative path in Open Graph?
我正在尝试设置 og:image
元数据的相对路径,如下所示:
<meta name="og:image" content="/images/view.png">
关于共享调试器我有以下警告:
Inferred Property The 'og:image' property should be explicitly
provided, even if a value can be inferred from other tags.
有什么方法可以在 Open Graph 中使用相对路径?
不,og:image 不适用于相对路径。
更多信息在这里:
我正在尝试设置 og:image
元数据的相对路径,如下所示:
<meta name="og:image" content="/images/view.png">
关于共享调试器我有以下警告:
Inferred Property The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
有什么方法可以在 Open Graph 中使用相对路径?
不,og:image 不适用于相对路径。
更多信息在这里: