I want to retrieve a Facebook user id if I have his username. This was deprecated from the graph API but I would like to know a work around on getting the id if i have the username.
There is a website that does that but I am not sure how they do it.
I did the R&D and found that the given website is not using the API to fetch userid from the username. They are using another mechanism which is not valid.
I have found 1 mechanism to find the userid from the username.
Below is the c# code which identify how to find userid from username. I tried to read the HTML from facebook url. and trying to read below meta tag to identify userid.
META Code
Function
Requirement