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

  • Home
  • SEARCH
  • 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 8696561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:18:08+00:00 2026-06-13T01:18:08+00:00

In my app, a user is at a location and is looking for her

  • 0

In my app, a user is at a location and is looking for her friends who have been anywhere withing 10 miles of where she is. How do I find this with either FQL or graph? The only way that I can see is by running a search like so: https://graph.facebook.com/search?type=checkin and then running through the results to find out which location was within 10 miles. Is there a better way for this?

Thanks for your help!

Doles

  • 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-06-13T01:18:10+00:00Added an answer on June 13, 2026 at 1:18 am

    Although the initial answer did work for me for part of my purpose, it quickly became inadequate. Now, after banging my head against the wall, it finally broke (not my head – the wall). Here are two more BETTER ways that WORK to find what I need:

    This is to find just checkins:

    SELECT checkin_id, coords, tagged_uids, page_id FROM checkin WHERE
    (author_uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) or
    author_uid=me()) and coords.latitude<‘45.0′ and coords.latitude>’29’
    and coords.longitude>’-175′ and coords.longitude<‘-5’;

    This is to find all location posts:

    SELECT id, page_id FROM location_post WHERE (author_uid IN (SELECT
    uid2 FROM friend WHERE uid1 = me()) or author_uid=me()) and
    coords.latitude<‘45.0′ and coords.latitude>’29’ and
    coords.longitude>’-175′ and coords.longitude<‘-5’

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

Sidebar

Related Questions

I'm writing an app that monitors the user's location. I have a CLLocationManager object
I have a simple app that will allow a user to tag a location.
Currently I have this code var App = Ember.Application.create(); App.user = Ember.Object.create({ people: customers
I am looking to have an augmented reality iphone app, in which the user
I need to build app with user messages (dialogs). I've solved this problem by
I am working on the application to find the user location . In my
I've been looking at this at every possible angle and I can't make my
So I'm planning create an app that needs to obtain the user's location and
I'm looking to develop a mobile app which is going to help people find
I have an app that tracks wildlife where the user enters data based on

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.