如何显示特定的Facebook页面在我的应用程序?我的、应用程序、页面、Facebook

2023-09-06 01:12:27 作者:吾性傲以野

我如何嵌入Android的Facebook页面,而无需使用 web视图? 我知道这个问题已经被问过here,但这个问题没有答案。

How do I embed a Facebook page in Android, without having to use a webView? I know this question has been asked before here, but this question has no answers.

在此先感谢

推荐答案

要得到一个特定页面的帖子在你的应用程序,所有你所要做的就是发出 GET PAGE_ID /进料。例如,要看到我的网页,InstaWifi,已经取得的职位,你可以在这里这个链接点击查看响应的样子:

To get posts from a specific page in your app, all you have to do is issue a GET on PAGE_ID/feed. For example, to see the posts my Page, InstaWifi, has made, you can click on this link here to see what the response would look like:

的https://developers.facebook.com/tools/explorer/?method=GET&path=325806087495884%2Ffeed

一旦你收到此JSON,你可以分析它,以显示在你的应用程序中的内容。

Once you receive this JSON, you can parse it to display the content in your app.