获取Facebook新闻Feed iOS? [英] Get Facebook News Feed iOS?
问题描述
我开始使用iOS SDK的Facebook SDK,在我的应用程序中,我正在尝试获取用户的新闻源并将其加载到一个可视化视图中。这是很棘手的。
I am starting out with the Facebook SDK for iOS and in my app I am trying to get the users news feed and load it into a uitableview. This is proving tricky.
我也找不到任何文件。任何帮助将不胜感激,谢谢。
I can't find any documentation on it either. Any help would be appreciated, thanks.
推荐答案
使用Facebook SDK,您可以使用以下命令调用Facebook Graph API:
using the Facebook SDK, you can call Facebook Graph API using:
[facebook requestWithGraphPath:@"me/home" andDelegate:self];
获取当前用户的新闻源。然后,您可以使用返回的数据填充您的表。有关TableView的更多信息,请参见 http: //developer.apple.com/library/ios/#documentation/userexperience/conceptual/TableView_iPhone/TableViewStyles/TableViewCharacteristics.html
to get the current user's newsfeed. You can then use the returned data to populate your tableview. More info about TableView can be found at http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/TableView_iPhone/TableViewStyles/TableViewCharacteristics.html
这篇关于获取Facebook新闻Feed iOS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!