Facebook Android SDK 墙流
我正在为一位希望在应用程序中显示 Facebook 墙帖子的客户开发一个应用程序。 Facebook SDK 示例很好地解释了如何允许用户登录,但这不是我想要的功能。我只希望从所有应用程序实例的单个配置文件中流式传输信息,而无需任何用户登录。如果有人做过类似的事情,我将不胜感激您的建议。我很乐意提供任何其他详细信息。
I am developing an application for a client who wishes to display their Facebook wall posts in the application. The Facebook SDK examples do a wonderful job explaining how to allow users to sign in, but this is not the functionality I desire. I only wish to stream information from a single profile for all application instances without any users having to sign in. If anyone has done anything similar, I would appreciate your suggestions. I will gladly provide any additional details.
一种选择是将社交插件之一嵌入网络视图中。否则,您可以在应用程序中嵌入应用程序令牌,然后对 /pageid/feed 进行图形 api 调用,并使用 json 结果显示 feed 条目。
One option would be to embed one of the social plugins inside a web view. Otherwise, you could embed an application token inside the application and then make a graph api call to /pageid/feed and use the json result to show the feed entries.