Do you get any type of permanent Facebook client ID, or is it only the access token?
I registered an app on https://developers.facebook.com.
Then I used Facebook plugin to login on androide and get userId.
Then I use facebook.getAccessToken() and pass token+id to api
Then on api side I validate id+token pair (to be as secure as possible)
local urlFormat = "https://graph.facebook.com/debug\_token?input\_token=%s&access\_token=%s|%s" local url = string.format(urlFormat, params.token, FACEBOOK\_APP\_ID, FACEBOOK\_APP\_SECRET) local resp, err = core.network.getJson(url)
It works for now
I could then add another method of logging in the user using email and Facebook ID
Yes, I can request email permission.
But guide you linked says that if user registered on facebook using phone number email could be empty.