0

How can I display face book feeds related to a group on an iOS App?

Is there any JSON/JSONP call to fetch the feeds??

Any help is Appreciated.

4

3 回答 3

2

最简单的 - 只是在网页视图上显示网页。Facebook 自行管理以适应您的 webView 控件的宽度。

// Load facebook data
NSString *fbUrlAddress = @"http://www.facebook.com/FLORtiles"; // here you put your own group
//Create a URL object.
NSURL *fbUrl = [NSURL URLWithString:fbUrlAddress];
NSString *webHTMLfb = [NSString stringWithContentsOfURL:fbUrl encoding:NSUTF8StringEncoding error:NULL];
//NSLog(@"webHTML of facebook: %@", webHTMLfb);
//URL Requst Object
NSURLRequest *fbRequestObj = [NSURLRequest requestWithURL:fbUrl];
//Load the request in the UIWebView.
[fbWebView loadRequest:fbRequestObj];
于 2012-05-15T11:40:50.710 回答
0

您可能需要熟悉Facebook 的 Graph Api

于 2012-05-15T11:01:52.350 回答
0

通过这个-> https://developers.facebook.com/docs/mobile/ios/build/

于 2012-05-15T11:40:28.273 回答