开发者

verifying success of posting to a user's wall feed using "fb_graph" 1.9.2 on rails

Is there a way to tell if posting to a user's wall was successful? As in:

me = FbGraph::User.me(ACCESS_TOKEN)
me.feed!(
  :message => 'Updating via FbGraph',
)
开发者_如何学Python

How is the best way to know if it actually made it on their wall?


When you successfully post to a user's feed the return value is the post ID of the newly created post. See the documentation here: https://developers.facebook.com/docs/reference/api/user/#statuses

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜