User's Facebook Status to tableview

I am newbie to Facebook app development, and have done some research but cant seem to find what I am looking for. Here's what I am trying to do.

I am trying to create an app that one part of it displays a facebook user's past statuses into a tableview from most recent to oldest. And inside the app be able to Save their favorite statuses to a Favorites page.-- I have a pretty good idea on how i would save the favorite statuses, however the problem that I am having is getting the statuses from facebook to the app.

If anyone can point me in the right direction or help me out it would be much appreciated!!!!

Answers


    try the following code ..... provide a limit


     NSString * pRequestString2 = [NSString stringWithFormat:@"me/statuses?limit=100%@",[FBSession activeSession].accessToken];

    [[FBRequest requestForGraphPath:pRequestString2] startWithCompletionHandler:^(FBRequestConnection *connection, id result, NSError *error) {

            NSLog(@"%@",result);

        }];


                                 or

try this ....

 NSString * pRequestString1 = [NSString stringWithFormat:@"me/feed?%@",[FBSession activeSession].accessToken];

[[FBRequest requestForGraphPath:pRequestString2] startWithCompletionHandler:^(FBRequestConnection *connection, id result, NSError *error) {

        NSLog(@"%@",result);

    }];



make sure you have proper permissions ..... 

Need Your Help

How to load data in breaks from Ajax call?

javascript jquery ajax

Guys I have an ajax call on my page, which is being called on scroll down event (lazy loading).

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.