Facebook sdk post on wall on iPhone app

后端 未结 3 471
-上瘾入骨i
-上瘾入骨i 2020-12-25 10:26

I have a problem with implementing Facebook posting on wall in my iPhone application. I installed SDK and linked framework login is working fine. here\'s the code:



        
3条回答
  •  误落风尘
    2020-12-25 11:01

    you should set Permissions:"status_update".

    like this :

    FBLoginView *loginview = [[FBLoginView alloc] initWithPermissions:[NSArray arrayWithObject:@"status_update"]];
    

    or

    FBSession *fbSession = [[FBSession alloc] initWithPermissions:[NSArray arrayWithObject:@"status_update"]];
    

提交回复
热议问题