How these websites are fetching FB profile id from username - facebook

According to latest Facebook graph API we cannot fetch user / profile id from Facebook username as
graph.facebook.com/username
Then how these websites are fetching user / profile id from usernames.
https://lookup-id.com/
http://findfacebookid.com/
http://findmyfbid.com/
etc...

They are scraping the profile, which is not allowed. If you need to get a User ID, authorize the User with your App and you will get an App Scoped ID. That´s all you need.

Related

Profile Posts Data From Facebook Graph

Can I get posts data that are public published from Profile Accounts with Facebook Graph? Thus Not Page Accounts but Profile Accounts.
No, you can only get posts of user profiles if a user authorized your App with the user_posts permission. It does not matter if posts are public, you always need user authorization.

Storing FB id vs. username

I am implementing a facebook login, and would want to store the fb data of the user. I just want to be able to check facebook profiles of users, i thought of storing the fb_id rathen than the fb_username, because I assume the username could be changed. If I store the fb_id, how can I pull up facebook profiles by id

Getting Facebook Profile URL from Facebook App-scoped id

I just learned that starting with the Facebook API 2.0 , users registering with apps will get a unique facebook id specific to that app.
In my application, I need the user's profile url. The response I get from calling the graph's "/me" path looks like this:
https://facebook.com/app_scoped_user_id/{app_scoped_user_id}
But this will not take me to the user's profile unless I am logged in. Whereas using the real facebook id will take me to the public profile regardless of my logged-in state.
My question is: How to get the public user profile url from the app-scoped facebook id, or how to get the real facebook user id from the app-scoped id?
Thanks.

FB Connect API - cannot get friends email id

I'm developing an web application in Java and using facebook account for login to my applications. After sucessfull login i need to get the logged in facebook account user friend's details including email id's. I can get the logged in user's friend's profile details but not the email ids of them. It always shows null. How do i get the email ids of my facebook friends.
Any help is very much appreciated.
Currently, this is not supported by Facebook. You cannot get user's friends' email, regardless of what permissions the user gives your app. Refer to the this for details.

Get Facebook User Id of my website visitors w/o auth

Is there any way to get the Facebook User Id of visitors in my website by using the FB API, but without need to ask them to authenticate my Facebook app?
All I need is some facebook-related-identifier, it does not even have to be the User Id, but any kind of identifier that can relate the user to a facebook profile.
Ideas?
If the user does not explicitly authorize you to get some private data from his Facebook account (included his Facebook ID), you can not get them.
I cannot think of a way to get the Facebook ID without the authorization of the user.
Hope that helps.