0

我使用了 facebook 评论插件。当我在我的 html 页面上编写以下元标记时。我正在为我的应用程序使用 Codeigniter 框架。

 <html lang="en" xmlns="http://www.w3.org/1999/xhtml"
          xmlns:og="http://ogp.me/ns#"
          xmlns:fb="http://www.facebook.com/2008/fbml">

    <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object#">

      <meta property="fb:admins" content="{MY_FB_ID}"/>
      <meta property="fb:app_id" content="{MY_APP_ID}" /> 
      <meta property="og:type"   content="website" /> 
      <meta property="og:url"    content="{my url}" /> 
      <meta property="og:title"  content="beyondandameter" /> 
      <meta property="og:image"  content="http://mysitedomainname/Andameter/uploads/tech1.jpg" /> 

报废信息

Response Code:  206
Fetched URL:    http://mysitedomain/Andameter/anda/politics_pics/26
Canonical URL:  http://mysitedomain/Andameter/anda/politics_pics/26

应该修复的开放图警告

Inferred Property:  The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property:  The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property:  The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
Small og:image: All the images referenced by og:image should be at least 200px in both dimensions, with 1500x1500 preferred. (Maximum image size is 5MB.) Please check all the images with tag og:image in the given url and ensure that it meets the recommended specification.

有人帮我吗?我的错误在哪里?

4

1 回答 1

0

我会删除

<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object#">

从 206 问题开始,但其他错误将得到修复 图像需要比它告诉您的更大,尝试像 600x400 像素一样,您可以添加多个图像标签,只需重复该行并替换您也可以添加的图像 url描述希望有帮助

于 2014-05-22T15:22:20.173 回答