title: I got error message : {"error":{"message":"(#200) Permissions error","type":"OAuthException","code":200}} when i do a like action
body: <p>I want to like a Facebook page, but I got this error:</p>
  
  <blockquote>
    <p>{"error":{"message":"(#200) Permissions error","type":"OAuthException","code":200}}</p>
  </blockquote>
  
  <p>As you can see on my code, permissions seems to be OK. Please notice that when I want to like a simple URL like www.google.com, it works!</p>
  
  <p>I got this error only when i want to like a Facebook page.</p>
  
  <p>Here is my code :</p>
  
  <pre><code>-(IBAction) buttonTestRecoFB
  {
      NSArray *permissions = [[NSArray alloc] initWithObjects:
                              @"publish_actions",@"publish_stream",
                              nil];
  
      [FBSession.activeSession closeAndClearTokenInformation];
  
      [FBSession openActiveSessionWithPermissions:permissions allowLoginUI:YES
                                completionHandler:^(FBSession *session,
                                                    FBSessionState status,
                                                    NSError *error) {
                                    // session might now be open.
                                    [self sessionStateChanged:session state:status error:error];
                                }];
  }
  
  // FACEBOOK
  //
  
  - (void)sessionStateChanged:(FBSession *)session 
                        state:(FBSessionState) state
                        error:(NSError *)error
  {
      switch (state) 
      {
          case FBSessionStateOpen: 
          {
              NSLog(@"FBSessionStateOpen");
  
              if (session.isOpen) 
              {
                  FBRequest *me = [FBRequest requestForMe];
  
                  [me startWithCompletionHandler: ^(FBRequestConnection *connection, 
                                                  NSDictionary&lt;FBGraphUser&gt; *my,
                                                    NSError *error) {
  
                      NSLog(@"firtname = %@" , my.first_name);
  
                      /////////////////////////////////////////////////
  
                      NSString *theWholeUrl = [NSString stringWithFormat:@"https://graph.facebook.com/313449204401/likes?access_token=%@", session.accessToken];
  
                      NSLog(@"TheWholeUrl: %@", theWholeUrl);
  
                      NSURL *facebookUrl = [NSURL URLWithString:theWholeUrl];
  
                      NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:facebookUrl];
                      [req setHTTPMethod:@"POST"];
  
                      NSURLResponse *response;
                      NSError *err;
                      NSData *responseData = [NSURLConnection sendSynchronousRequest:req returningResponse:&amp;response error:&amp;err];
  
                       NSString *content = [NSString stringWithUTF8String:[responseData bytes]];
  
                      NSLog(@"responseData: %@", content);
                      /////////////////////////////////////////////////                  
                  }];
              }
          }
  </code></pre>