Is there any reliable way for end users to know their Facebook User ID without getting under the hood (dev tools, page source etc)? Those IDs are needed to promote users to moderators in facebook comments plugin.
How to get facebook global User ID
1k views Asked by the_joric At
2
There are 2 answers
2
On
There is no allowed automated way to get the global User ID, because that would be scraping: https://www.facebook.com/apps/site_scraping_tos_terms.php
You can only open the source and search for "USER_ID".
You could build yourself a webpage, and extract the userID from their fb profile page. You postprocess this and return value for "userID" (Just ask users to visit your page and give their fb profile link).