title: Facebook Graph API for iOS search
body: <p>I am trying to search places from the GraphAPI using following code without luck. Can anybody please enlight my path ? </p>
  
  <p>If I try to post link/message/photo it works as expected but when trying to get location it always fails and gives me <code>**The operation couldn’t be completed. (facebookErrDomain error 10000.)**</code></p>
  
  <pre><code>//Following statement is using permissions
  NSArray * permissions = [NSArray arrayWithObjects:@"publish_stream",@"user_checkins", @"friends_checkins", @"publish_checkins", nil];
  
  [facebook authorize:FB_APP_ID permissions:permissions delegate:_delegate];  
  NSString *centerString = [NSString stringWithFormat: @"%f,%f", 37.76,-122.427];
  
  
          NSString *graphPath = @"search";
          NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                         @"coffee",@"q",
                                         @"place",@"type",
                                         centerString,@"center",
                                         @"1000",@"distance", // In Meters (1000m = 0.62mi)
                                         nil];
  
  [facebook requestWithGraphPath:_path andParams:_params andHttpMethod:@"POST" andDelegate:_delegate];
  </code></pre>