Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get to Facebook User Page by a known app scoped User ID

Till today there have been methods to get to Facebook User Page by user id. I mean ID, that facebook API returns to our app: https://graph.facebook.com/10152384781676191?fields=link

{
  "link": "https://www.facebook.com/app_scoped_user_id/10152384781676191/",
  "id": "10152384781676191"
}

But none of the methods works any more:

  • https://www.facebook.com/app_scoped_user_id/10152384781676191 - does not work
  • https://facebook.com/profile.php?id=10152384781676191 - does not work
  • https://facebook.com/10152384781676191 - does not work

UPDATE: It seems the following happened: according to TechCrunch, malicious sites pulled data form public user profiles.

After TechCrunch article Facebook immediately blocked the URLs that Graph API returns: graph.facebook.com/v2.11/{user-id}/?fields=link&access_token={access-token} . They "...are working on instituting additional authentication and rate limiting...".


Any 1) quick workarounds and/or 2) permanent solution?

like image 477
epox Avatar asked Apr 19 '18 13:04

epox


People also ask

Is there a Facebook API?

What is the Facebook API? The Facebook Graph API is an HTTP-based API that allows developers to extract data and functionality from the Facebook platform. Applications can use this API to programmatically query data, post in pages and groups, and manage ads, among other tasks.

What is Facebook app ID used for?

A Facebook App ID is a unique number that identifies your app when you request ads from Audience Network. Each app on Audience Network must have a unique Facebook App ID. You may already have an App ID if your app uses Facebook Login or Facebook Analytics for Apps.

How do I find the scoped user ID on Facebook?

(To get a scoped User ID for a Page, your app must query the endpoint using that Page's access token.) Your appsecret_proof hash. Refer to our Facebook Login Security guide for more information.

What is PSID Facebook?

PSID is a page-scoped ID for every contact in your Contacts that Facebook creates to handle different communication channels. It's common for a business to use multiple channels to communicate with its customers, e.g., a website, a mobile app, and Messenger.


1 Answers

Facebook banned the link property in their Graph API intentionally. Now they propose to fill out a from in order to review each case individually.

The form: https://go.fb.com/2018-FB4D-platform-review-form.html

News update from April 20th: Facebook Login Changes to Address Abuse

It came to our attention yesterday that some third-party tracking scripts on websites were directly accessing Facebook public profiles. While investigating this issue, we have taken immediate action by:

  • Disabling the ability to resolve the app-scoped user ID (ASID) returned by Facebook Login to a Facebook profile page, even for logged-in users.
  • Instituting rate limiting of profile picture requests, to further prevent any third parties from trying to link people's activity across different websites using the application-specific identifiers issued by Facebook Login.

We don’t take breaking changes lightly, but we believe that these updates will help protect people’s privacy and increase trust across the ecosystem. If you have an urgent issue in need of resolution, please fill out this form and someone from our team will get in touch with you.

Thank you for your patience while we work to resolve this issue as soon as possible.

like image 67
epox Avatar answered Sep 22 '22 21:09

epox