为什么嵌入式帖子请求屏幕没有获得许可权?

时间:2013-12-10 05:02:13

标签: ios iphone facebook facebook-graph-api permissions

如图所示,我想得到用户的一些许可,但我不想在用户时间线上发帖,所以我从未要求获得过墙帖子的许可。

但是如图所示,会出现自动嵌入式帖子屏幕,要求公开发帖。在应用运行时有什么方法可以隐藏或不显示?

enter image description here

enter image description here

帮我解决或解决问题。

这是我的请求代码:

FBRequest *me = [[FBRequest alloc] initWithSession:userManager.currentSession
                                             graphPath:@"me?fields=activities.fields%28picture.width%28100%29.height%28100%29,name%29,music.fields%28picture.width%28100%29.height%28100%29,name%29,birthday,gender,education,id,first_name,email,friends,albums.fields%28type,photos.limit%285%29.fields%28source%29%29"];
    [me startWithCompletionHandler:^(FBRequestConnection *connection,
                                     // we expect a user as a result, and so are using FBGraphUser protocol
                                     // as our result type; in order to allow us to access first_name and
                                     // birthday with property syntax
                                     NSDictionary<FBGraphUser> *user,
                                     NSError *error) {
        [self requestdidLoad:user];


    }];

0 个答案:

没有答案