objectivec:fb发表评论错误

lan*_*985 5 iphone comments facebook objective-c http-post

我创建了一个ios应用程序,并希望发表评论文章和本文的评论.但我无法让它发挥作用.

  • 评论文章:我使用我在"对象调试"页面上找到的post_id测试图形"post_id/comments".当我通过ios SDK发布时,我收到错误"500"

    {"error":{"message":"发生了未知错误.","type":"OAuthException","code":1}}

当我发布时 https://graph.facebook.com/{post_id}/comments

  • 发表评论的评论:我使用图表"commentID/comments",当我发布ios sdk时出现错误400,并且

    {"error":{"message":"(#100)无效的fbid.","type":"OAuthException","code":100}}

当我发布到 https://graph.facebook.com/{commentID}/comments