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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:11:31+00:00 2026-05-26T16:11:31+00:00

I’m getting started with the realtime Facebook stuff, and have hit a newbie-type snag.

  • 0

I’m getting started with the realtime Facebook stuff, and have hit a newbie-type snag. I want to receive notifications when users of my app add or remove a friend. I get the overall architecture: I set up a subscription to the “user” object and the “friends” field, and, once all the verification has happened, when one of my app’s users changes his friends, my callback url will get sent a JSON string giving me the user id of the user whose friends have changed. Cool.

I’m then supposed to make a call up to Facebook to get the (new) friends of this user, and do whatever it is I’m going to do with them. There’s my question: how do I get an access token that will let me see that user’s friends? I’ve been experimenting with Graph API Explorer, and I keep getting told that, when I try to see the friends of USER_ID, that I “…can’t lookup all friends of USER_ID. Can only lookup for the logged in user (USER_ID), or friends of the logged in user with the appropriate permission.” But if I can’t do that, what’s the point of getting the notification that a user has a new set of friends? Especially since the Facebook docs make a big point about how you can get realtime notifications of changes in your users’ friends? Or is this something that will magically start to work after I have the subscription set up?

Like I said, this is probably a newbie-hasnt-figured-out-the-big-picture thing; there’s something I’ve just missed. But clarifications to get me past this would be greatly appreciated — thanks!

  • 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-26T16:11:32+00:00Added an answer on May 26, 2026 at 4:11 pm

    Solved, it would seem. The story, in case someone else finds this thread, is that you CAN get the friends of a user of your app, by using an APPLICATION access token build from your app’s id and app secret. Your users have given your application permission to see their friends, so everything works the way it should. The problem with using (or trying to use) Graph API Explorer for this is that the access token its button creates is a USER access token, which indeed cannot be used to see the friends of someone other than yourself. Anyway, get an use an application access token, andall should be well.

    (BTW, in case someone sees that I have this wrong and have stumbled into something incorrect that happens to work out of chance, a comment would be appreciated…)

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I have a jquery bug and I've been looking for hours now, I can't
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

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.