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 6946085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:31:10+00:00 2026-05-27T13:31:10+00:00

The FB Graph API shows how I can search for all users named Mark

  • 0

The FB Graph API shows how I can search for all users named “Mark” anywhere in the world:

https://graph.facebook.com/search?q=mark&type=user

but I would like to be able to search, for example, by location and interest, like all users in Los Angeles who like Soccer.

I looked through the API documentation, and forums, but although I imagine this would be a common question (whether it’s possible or not), I couldn’t find anything.

Thanks for any help.

  • 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-27T13:31:11+00:00Added an answer on May 27, 2026 at 1:31 pm

    The current implementation of the Graph API makes these types of searches impossible.

    First, the search query structure is dependent on the type of resource being searched. It is not coincidence that the majority of search queries in the documentation only include one search term and do not allow you to restrict the fields being searched. Outside of a limited subset of types (like Places), it is not possible to use multiple terms and it may not be possible to get results for the fields you want to search (e.g. you can’t search for Pages by location).

    Second, all methods of the Graph API follow Facebook’s permissions. If you look at the documentation on User objects, you will note that both the location field and the likes connection require extended permissions (user_location and user_likes respectively) in order to access them. Since both of these fields are private by default, there is no way to find users with a location in Los Angeles, or who like soccer.

    I suspect that this is because the Graph API’s purpose is not to allow programmers to do granular searches over Facebook’s userbase, but to “promote rich social applications”.

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

Sidebar

Related Questions

Facebook graph API tells me I can get a profile picture of a user
I am using Facebook's PHP SDK and Graph API to obtain all albums from
Possible Duplicate: 'Like' a page using facebook graph api I want to let users
I'm using facebook open graph, new api, and i can do this: <fb:login-button show-faces=true
The Facebook Graph API lists a 'link' parameter in its documentation , which is
When we use Graph API in Facebook the results come in the following format.
can I retrieve it using fql or graph api
I'm using the new facebook graph API and getting an odd error when I
via the graph api, I create events for facebook pages I have the create_event
Hey all, I've made a facebook application for a contest, which allows users to

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.