title: iOS Facebook authorization
body: <p>Im trying to get authorization to publish stream and get offline access, but I am getting this error.</p>
  
  <p><img src="https://i.stack.imgur.com/B7IuT.png" alt="enter image description here"></p>
  
  <p>And it don't show the permissions that I want to get. My code is below:</p>
  
  <pre><code>self.fb = [[Facebook alloc] initWithAppId:@"xxxxxxxxxxxxxxxx"];
  NSArray *permissions = [NSArray arrayWithObjects:@"offline_access", @"publish_stream", nil];
  [self.fb authorize:permissions delegate:self];            
  [self.fb dialog:@"oauth" andDelegate:self];
  </code></pre>
  
  <p>Someone can tell me what I am missing?</p>