我是否缺少图形 api 的工作原理
我正在使用 this gem,它只是 facebook graph API 的包装器。我试图在登录用户的 Facebook 墙上发布一些内容。这个任务看起来很简单,但我遇到了这些问题
graph = HyperGraph.new("some token").get('me')
=> {:last_name=>"Jones", :updated_time=>Fri Aug 06 22:27:03 -0400 2010, :email=>"[email protected]", :locale=>"en_US", :link=>"http://www.facebook.com/matt.jones", :verified=>true, :first_name=>"Matt", :timezone=>-4, :name=>"Matt Jones", :birthday=>"04/22/1985", :id=>503888340}
graph.object('503888340').post(:comments, :message => 'durian is disgustingly delicious')
FacebookError: OAuthException - (#100) Invalid fbid.
如何在我的墙上发布消息
I am using this gem, which is just a wrapper for the facebook graph API. I trying trying to post something to the logged in users facebook wall. This task seems easy enough but i am having these problems
graph = HyperGraph.new("some token").get('me')
=> {:last_name=>"Jones", :updated_time=>Fri Aug 06 22:27:03 -0400 2010, :email=>"[email protected]", :locale=>"en_US", :link=>"http://www.facebook.com/matt.jones", :verified=>true, :first_name=>"Matt", :timezone=>-4, :name=>"Matt Jones", :birthday=>"04/22/1985", :id=>503888340}
graph.object('503888340').post(:comments, :message => 'durian is disgustingly delicious')
FacebookError: OAuthException - (#100) Invalid fbid.
How do i post a message to my wall
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试用 :feed 替换 :comments
try replacing :comments with :feed