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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:08:53+00:00 2026-06-02T15:08:53+00:00

When I access the list of my friends using the URL https://graph.facebook.com/me/friends?access_token= … I

  • 0

When I access the list of my friends using the URL https://graph.facebook.com/me/friends?access_token=… I can see the list of my friends. I can do this programmatically as well.

Now, when I take the ID of any of my friends and replace it with “me” in the above URL, and paste the URL in the browser, I can see my friend’s friends. I am unable to do this programmatically because it is giving me an HTTP 400 ERROR.

Does anyone know why this is possible by pasting the URL and not programmatically?

  • 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-02T15:08:55+00:00Added an answer on June 2, 2026 at 3:08 pm

    You can not get the “friends of friends” using the facebook api.

    For example, try the simple /me/friends with the Graph API Explorer, it should work fine.
    Then, take one of the ids there and try the same with FRIEND_ID/friends and you should get this:

    {
      "error": {
        "message": "(#604) Can't lookup all friends of FRIEN_ID. Can only lookup for the logged in user or the logged in user's friends that are users of your app.", 
        "type": "OAuthException", 
        "code": 604
      }
    }
    

    The error itself is very straight forward and explains exactly what the problem is.
    As for why that translates into a 400 error code for you is unclear.


    Edit

    You can’t see the “friends of friends” in the browser as well, the reason that it works for you (probably) is that the user(s) you check the friends for (USER_ID/friends) installed the app that the access token belongs to, from the way you got to that url I assume that the app is the “Test_console”.

    How to check? Copy the access token from the url (USER_ID/friends?access_token=xxxxx), go to the Facebook Debugger and paste the token in the text field and click “Debug”, it will show you info regarding the application.

    The user you checked it for probably has that app “installed”, if you check it for other users you will get that error when you get to a user who does not have that app “installed”.

    I hope this clarifies it for you.

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

Sidebar

Related Questions

I am using graph api to retrieve my friend list. https://graph.facebook.com/me/friends?access_token= I noticed it
So I figured how to access a user's friends list using the graph API:
How to access Facebook friends list in to our android application using Facebook API
I am using facebook graph api to access mutual friend list using PHP Here's
http://boto.s3.amazonaws.com/s3_tut.html#setting-getting-the-access-control-list-for-buckets-and-keys I'm using boto. My friend says it's possible to just generate a temporary
I am using jQuery.getJSON to fetch the Facebook friends list, but I am not
I'm using graph api but I can't list the pages and groups of an
I am using facebook PHP SDK to access the friend list include_once(../fb-config.php); include_once(../facebook.php); try{
How to store a Facebook user's friends list in MySQL using PHP? I am
I'm trying to access list data using SSRS 2008. I have created an XML

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.