使用 Koala Facebook API 从应用程序页面获取信息

Using Koala Facebook API to get information from app pages

如何使用考拉 gem 从应用程序页面获取信息?
例如,如果我想获得有关 candycrushsaga 的喜欢页面的信息,我输入 @graph.get_object(candycrushsaga+"/likes")。

我怎样才能获得评论、点赞和分享等其他功能?
这可能使用考拉吗?

您可以使用 feed 节点使用 get_connections,即

@graph.get_connections('candycrushsaga','feed?fields=status_type,type,story,message,likes{name},comments,link,name, from')

更多信息https://developers.facebook.com/docs/graph-api/reference/v2.3/page/feed and https://developers.facebook.com/docs/graph-api/reference/v2.3/post#fields