FBConnect: “The user hasn't authorized the application to perform this action”

前端 未结 3 1454
渐次进展
渐次进展 2021-01-22 10:37

I m developing an iPhone app which includes facebook wall posting.After log in, I post to user\'s wall by following code:

NSString *appIcon = [NSString stringWit         


        
3条回答
  •  深忆病人
    2021-01-22 11:08

    you should have a small block of code that looks similar to this below. If not - search for read_stream in your code -

      if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) {
        _permissions =  [[NSArray arrayWithObjects:
                          @"read_stream", @"offline_access",nil] retain];
      }
    

    Add @"stream_publish" to the list and you should be good to go.
    -Jon

提交回复
热议问题