Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7176431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:30:21+00:00 2026-05-28T16:30:21+00:00

I am trying to search places from the GraphAPI using following code without luck.

  • 0

I am trying to search places from the GraphAPI using following code without luck. Can anybody please enlight my path ?

If I try to post link/message/photo it works as expected but when trying to get location it always fails and gives me **The operation couldn’t be completed. (facebookErrDomain error 10000.)**

//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];
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T16:30:22+00:00Added an answer on May 28, 2026 at 4:30 pm

    Never mind. Downloaded latest sample HackBook from facebook for graph api from github and it includes sample code for the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to search using the windows search one of my web directories for
I'm trying to search Netflix through their API, but without logging anyone in (because
I'm trying to set up a search display controller to handle async results from
I'm trying to convert a pretty simple script that takes search results from Twitter
I'm trying to search multiple attributes in XML : <APIS> <API Key=00001> <field Username=username1
I am trying to search my bash history similarly as with CTRL - r
I am trying to search an XML field within a table, This is not
I'm trying to search multiple fields (zc_city, zc_zip and zc_state), matching against a single
I have some XML which I'm trying to search: <debts> <section id=24 description=YYYYY> <section
I am building a small facebook app. Trying to search for values in an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.