0

我是 Facebook 应用程序开发的新手,已经做了一些研究,但似乎找不到我想要的东西。这就是我想要做的。

我正在尝试创建一个应用程序,其中一部分将 facebook 用户的过去状态显示到从最新到最旧的 tableview 中。并且在应用程序内部能够将他们最喜欢的状态保存到收藏夹页面。 - 我对如何保存最喜欢的状态有一个很好的想法,但是我遇到的问题是将状态从 facebook 获取到应用程序。

如果有人能指出我正确的方向或帮助我,将不胜感激!!!!

4

1 回答 1

0
    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 ..... 
于 2013-04-19T04:09:58.537 回答