简体   繁体   English

在Android应用程序中自动获取Facebook群组帖子

[英]Getting Facebook group posts automatically in android app

I would like to implement the following feature in my android app.我想在我的 android 应用程序中实现以下功能。

We have a Facebook group and whenever a user post's something, it should be lively read on my android app(including post content,likes and comments).我们有一个 Facebook 群组,每当用户发布的内容时,都应该在我的 android 应用程序上生动地阅读(包括发布内容、喜欢和评论)。

Is it possible with currently available Facebook API's?.当前可用的 Facebook API 是否有可能?

If you manage the group, you can authorize with the user_managed_groups permission and get the feed with /group-id/feed.如果您管理该组,则可以使用user_managed_groups权限进行授权,并使用/group-id/feed. There is no realtime API for groups, so you have to check for new items with a Cron Job (for example).组没有实时 API,因此您必须使用 Cron 作业(例如)检查新项目。

More information and example code: https://developers.facebook.com/docs/graph-api/reference/v2.4/group/feed更多信息和示例代码: https : //developers.facebook.com/docs/graph-api/reference/v2.4/group/feed

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM