Facebook打开图GraphMethodException错误代码100 [英] Facebook open graph GraphMethodException error code 100
问题描述
我正试图通过Facebook教程发布和开放iOS版的图表, https://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/publish-open-graph-story/
步骤3对我来说是失败的。当我使用图形API资源管理器时,我收到错误
{
error:{
消息:不支持的帖子请求,
type:GraphMethodException,
code:100
}
}
我已经看过一堆关于这个错误的堆栈溢出的答案,但似乎没有我的问题。我选择了获取访问令牌并具有发布权限。该页面不是酒精相关的,我使用的用户页面不受年龄限制。
我从页面顶部选择了我的应用程序。我选择了帖子,然后在我提供的空间中输入我的故事对象,我/ gopiratestd:老板
然后我添加一个新的字段,然后使用左边的键击,以下网址在右侧。
https:/ /hiddencastcast.com image = http://images.all-free-download.com/images/ graphicmedium / beautiful_cat_picture_6_168770.jpg& body = Beat
然后当我提交它返回该错误。
当我在对象调试器中使用该链接时,它不会返回任何错误。
错误100表示您发布的URL中有一个简单的语法错误。
我怀疑你有一个不匹配的自定义图表网址集您的行动 - 请参阅 http://developers.facebook.com/docs/opengraph/creating -action-types :
图形API网址可以自定义发布操作时使用的确切端点,默认情况下,自定义操作类型为/ me / {app-namespace}:{action-type-name}。
I'm trying to work my way through the Facebook tutorial publish and open graph story for iOS, https://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/publish-open-graph-story/
Step 3 is failing for me. When I use the graph API explorer I get the error
{
"error": {
"message": "Unsupported post request.",
"type": "GraphMethodException",
"code": 100
}
}
I've looked through a bunch of answers on stack overflow relating to this error but none seem to be my problem. I have selected get access token and have publish permissions. The page is not alcohol related and the user page I'm using is not age restricted.
I have selected my application from the top of the page. I have selected post and then entered my story object in the space provided me/gopiratestd:boss
then I add a new field and use the key beat on the left and then the following url on the right. https://hidden-castle-7245.herokuapp.com/opengraphobject.php?fb:app_id=554329451276476&og:type=gopiratestd:boss&og:title= beataboss&og:description=%22Beat%22&og:image=http://images.all-free-download.com/images/graphicmedium/beautiful_cat_picture_6_168770.jpg&body=Beat
Then when I hit submit it returns that error.
Is there anything obvious I'm doing wrong here?
When I use that link in the object debugger it doesn't return any errors.
Error 100 means that there is a plain syntax error in the URL you are posting to.
I suspect you have a custom graph url set which doesn't match your action - see http://developers.facebook.com/docs/opengraph/creating-action-types :
Graph API URL This customizes the exact endpoint used when publishing actions, which by default for custom action types is /me/{app-namespace}:{action-type-name}.
这篇关于Facebook打开图GraphMethodException错误代码100的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!