I'm trying to get the facebook friends of my new users (to recommend them friends). I did all the work: integrated facebook in the app, permission facebook etc.
Then I use this to get the users
curl -i -X GET \
"https://graph.facebook.com/v4.0/ i put the user id here }?fields=id%2Cfriends&access_token= my acces token"
It works, but there's a problem with the id's:
If i use the facebook graph API: it says my ID is : 23337 ... (only digits).
If i log in with facebook in the flutter app: my ID is: M670V ... (digits + (capital) letters )
Only the id with only digits works for the curl. How can I get the id with only digits from the flutter facebook sing in?
Thank you!
After a bit of research,
The id with digits + letters is the firebase ID, it differs from the real facebook id.
Thanks for the help!