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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:50:28+00:00 2026-06-01T02:50:28+00:00

Problem I am trying to get friends_location from the Facebok Graph API. I am

  • 0

Problem

I am trying to get friends_location from the Facebok Graph API. I am accessing the API using the HybridAuth framework. How do I return a friend’s location/hometown etc?

My App Permissions

I have set the following permissions for my app:

friends_about_me,friends_location,friends_hometown,user_location,email,user_birthday,offline_access,user_hometown

This is the request for permission screen the user sees on Facebook:
Facebook Permissions Screen

What I Have Tried

I have tried the following methods to get the friend’s details:

HybridAuth: $hybrid->getUserContacts();

and

Native API: $hybrid->api()->api('/me/friends');

Both return the following format without the friend’s location:

{"identifier": "12345678","displayName": "Joe Smith",},

I have also seen this question but I have already included the friends_about_me permission in my request.

  • 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-01T02:50:29+00:00Added an answer on June 1, 2026 at 2:50 am

    Take a look at the Graph API explorer:

    https://developers.facebook.com/tools/explorer

    Click on the “Get access token” button and select (under the Friends Data Permissions tab):

    • friends_hometown
    • friends_location

    Once you have given the permissions for the access token click the friends link under connections in the right hand column. Your GET request should now look something like this:

    https://graph.facebook.com/123456789/friends

    You should now have a list of your friends with their name and id. If you click on the id you will see the results for that friend which include the hometown and location.

    Hope that helps.

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

Sidebar

Related Questions

I am trying to get user album by using GRAPH API with function facebook.request(contact.getFacebook_id()+/albums)
My friend has this embarassing problem. He's trying to get the most basic of
I'm trying to get all events from all of my friends on Facebook using
I'm trying to get the contacts from Outlook (2007) using the following code: Outlook.Application
Hey all, i have a problem with trying to get 2 forms to close
I get the following problem when trying to open an ASPX page in FireFox:
I'm trying to get a regexp to solve the next problem: I have some
I'm trying to get a handle on whether we have a problem in our
I am trying to get started with PEAR's HTML_QuickForm but I'm having a problem.
I have a problem with a page where I am trying to get colorbox

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.