美味的教程,打开图表类型错误

时间:2013-08-24 14:36:39

标签: facebook facebook-graph-api facebook-android-sdk

我正在关注这个美味的教程(Android,但它没有关联),我坚持在最后一步发布到开放图表。 我已经定义了我的自定义对象(Pizza)here。我在对象调试器上测试过,一切正常。测试结果显示:

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

但是,当我尝试发布到图表时,如下图所示: enter image description here

我收到了错误:  “message”:“(#3502)网址https://graph.facebook.com/510362212378653上的对象有og:'网站'类型。属性'用餐'需要og的对象:输入'tungscrumptious:meal'。”

显然,调试器显示的og:typetungscrumptious:mealnot website。知道还有什么要检查吗? TKS

2 个答案:

答案 0 :(得分:0)

尝试放置膳食对象的端点网址:https://tungscrumptious.herokuapp.com/pizza.html

答案 1 :(得分:0)

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