Face recognition via facebook API

Yes. You can use Facematch, an unofficial wrapper for the Facebook face recognition feature. When you upload a picture on Facebook, the /photos/tagging/recognition endpoint is called. This program uploads a private picture (using Facebook API) + calls the recognition endpoint (by simulating a browser using the user’s information).

“Uncaught (in promise) undefined” error when using with=location in Facebook Graph API query

The error tells you that there is an error but you don´t catch it. This is how you can catch it: You can also just put a console.log(reponse) at the beginning of your API callback function, there is definitely an error message from the Graph API in it. More information: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch Or with async/await: