【问题标题】:facebook app meta tags cached?facebook 应用元标记缓存?
【发布时间】:2015-02-25 07:26:25
【问题描述】:

我在我的 Facebook 应用程序上创建了一个开放式图表故事。我想将代码集成到我的网站...

这是我使用的元标记

     <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# rovespier: http://ogp.me/ns/fb/rovespier#">
<meta property="fb:app_id" content="349547121879416" />
<meta property="og:type" content="rovespier:art" />
<meta property="og:url" content="Put your own URL to the object here" />
<meta property="og:title" content="<?php $message; ?>" />
<meta property="og:image" content="http://www.rovespier.com/uploads/videos/images/142367443594.jpg" />
<meta charset="utf-8">

我使用了 facebook 调试器。问题是(因为我将此代码用于多个页面)在某些页面中,打开的图表显示正常,但在某些页面中显示的值如“示例视频”或来自我在元标记上指定的另一个图像或根本没有图像。知道为什么吗?听起来有点疯狂

【问题讨论】:

    标签: tags meta


    【解决方案1】:

    开始为您的 og:image 添加宽度和高度。如果没有设置图像的宽度或高度,它可能会采用另一个图像而不是被定义的图像。

    <meta property="og:image:width" content="200" />
    <meta property="og:image:height" content="200" />
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-05-23
      • 2015-01-17
      • 2010-12-27
      • 2011-06-29
      • 1970-01-01
      • 2013-02-02
      • 2012-08-14
      • 1970-01-01
      相关资源
      最近更新 更多