0

我正在关注美味的教程(Android,但它不相关),我被困在发布到开放图的最后一步。我在这里定义了我的自定义对象(Pizza) 。我已经在对象调试器上对其进行了测试,一切正常。测试结果表明:

Scrape Information

Response Code:  206
Fetched URL:    https://tungscrumptious.herokuapp.com/pizza.html

Canonical URL:  https://tungscrumptious.herokuapp.com/pizza.html
Object Properties

fb:app_id:  106093806983
og:url: https://tungscrumptious.herokuapp.com/pizza.html
og:type:    tungscrumptious:meal
og:title:   Pizza
og:image:   
og:updated_time:    1377354274
Raw Open Graph Document Information

Meta Tag:   <meta property="fb:app_id" content="106093806983" />
Meta Tag:   <meta property="og:type" content="tungscrumptious:meal" />
Meta Tag:   <meta property="og:url" content="https://tungscrumptious.herokuapp.com/pizza.html" />
Meta Tag:   <meta property="og:title" content="Pizza" />
Meta Tag:   <meta property="og:image" content="https://tungscrumptious.herokuapp.com/pizza.jpg" />
URLs

Graph API:  https://graph.facebook.com/510362212378653
Scraped URL:     See exactly what our scraper sees for your URL

但是,当我尝试如下图所示发布到图表时: 在此处输入图像描述

我收到错误消息:“消息”:“(#3502)URL https://graph.facebook.com/510362212378653的对象具有 og:type of 'website'。属性 'meal' 需要 og:type 的对象' tungscrumptious:meal'。”

显然,og:type调试器显示的 是tungscrumptious:meal, not website。知道还有什么要检查的吗?Tks

4

2 回答 2

0

尝试放置用餐对象的端点 url:https://tungscrumptious.herokuapp.com/pizza.html

于 2013-08-24T22:40:27.153 回答
0

我找到了错误的原因:我已将 herokuapp.com 上的应用程序名称从默认 ID (storm9xxxx.herkuapp.com) 更改为 tungscrumptious.herokuapp.com,但没有从字段domain中删除旧名称Fb 上的应用程序设置。希望它可以帮助某人。

于 2013-08-25T12:23:44.747 回答