如何显示特定的Facebook页面在我的应用程序? [英] How to show specific facebook page in my app?
问题描述
我如何嵌入Android的Facebook页面,而无需使用 web视图
?
我知道这个问题已经被问过<一个href="http://stackoverflow.com/questions/7946427/embed-facebook-fan-page-into-view-in-android-app">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.
这篇关于如何显示特定的Facebook页面在我的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!