Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

facebook - Not getting full friends list with recent changes (app scoped user id may be) [duplicate]

The current code I am working on, for some reason, when I do

https://graph.facebook.com/me?access_token=access_token  (accesstoken from callback response)

It is returning id: some number which is not my real facebook user id. It also gives link as:

https://www.facebook.com/app_scoped_user_id/<number>

If I use the access token from the access token tool from facebook, it is returning my actual user id.

Also, I remember, old apps I worked on, they return only actual userid, not getting whats happening here.

Regarding friends:

With access token from access token tool, I am getting full friends list. But with the token from the app, I am getting only one friend(I added recently). Not getting what happened.

like image 923
user2349115 Avatar asked May 03 '14 20:05

user2349115


People also ask

Why can't I see all my friends list on Facebook?

You should check in the drop down menu and get your friend list by clicking on "most recent". Try checking any settings or privacy settings that you may had done. Also,try clearing cache,cookies and history of your browser and access Facebook after doing so to see any improvements.

What is app scoped ID Facebook?

When a person uses Facebook Login on a website or a mobile app, an ID is created for the specific Facebook app, which is called app-scoped ID. When a person interacts with a business via Messenger, an ID is created for the specific Page associated with the bot in Messenger, which is called Page-scoped ID.

Why is recently added friends on Facebook not showing?

You'll see this above the list of friends with "Mutual Friends." This displays the person's most recent friend additions. If you don't see this tab, that person has not added a friend in the last 3.5 weeks or they have settings enabled that hide this tab.

How do I add friends on Facebook 2022 Mobile App?

From your Feed, click Friends in the left menu. You may need to click See More first. Click Custom Lists, then click Create List. Enter a name for your list and click Confirm, then enter the names of friends you'd like to add by clicking Add Friends.


1 Answers

I've tested quite extensively for what's accessible and not since I realized the changes last night. Even if you get your user's friends, you will NOT be able to retrieve user's friend's useful info anymore. You will not be able to access friend's albums and photos so getting access to the taggable friends is of no use for sure because your App can no longer "Act like the user" anymore. You should also notice some of the FQL tables is gone with v2.0, namely, location_posts (and I bet checkins as well). Some fields are also "nulled" out such as mutual_friends_count. You will need to test everything just to be sure what's been changed as many of the differences are not documented.

If you already has apps running on v1.0, beaware that v1.0 will be deprecated entirely in April 2015.

While I understand FB want to take away the whole impersonation for securing users privacy, it chooses to achieve this by entirely shutting down the reason that many App developers choose to integrate with Facebook - because they can leverage facebook's data in their apps that users would be interested in. To third party Apps, it's no more than just a free OAuth service to me because the social aspect is essentially all gone now as far as I can tell.

I would appreciate knowledgeable parties to shade some light on what's still "social" about FB integration now that with v2.0? I'm at my early stage of development and now I think I will probably ditch FB entirely but just in case there are something out there that I'm not aware of.

like image 74
JChow Avatar answered Nov 18 '22 02:11

JChow