title: message:(#200) App does not have permission to make this call in ios application using facebook sdk
body: <p>I want to like and comment in my iOS application.But the problem is whenever I call my API the response comes in the form of this `error:message:(#200)'. App does not have permission to make this call and sometimes it will give input parameter is required.The permissions i give are 'basic_info','email','user_likes' and 'read_stream'. I am passing object id and access token in my like and comment API.</p>
  
  <p>Like API code:</p>
  
  <pre><code>NSString *theWholeUrl = [NSString stringWithFormat:@"https://graph.facebook.com/%@/likes?access_token=%@",self.friendId,[FBSession activeSession].accessTokenData.accessToken];
  
  NSLog(@"Value of 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]];
  </code></pre>