Facebook login via official button

Hi, we would like to add a facebook login button to a custom login/register form, we have the button thanks to https://developers.facebook.com/docs/facebook-login/web/login-button/, I have also added a JS callback function to capture the response. My problem is that the two don't seem to be compatible, the fb login button returns data in this format: accessToken: "xxx" data_access_expiration_time: 1556454839 expiresIn: 5160 reauthorize_required_in: 7775999 signedRequest: "xxx" userID: "123" whereas the module is expecting "state" and "code" in the URL response.

28 Jan 2019 ... Hi, we would like to add a facebook login button to a custom ... they are sent to '/ user/simple-fb-connect', so simply creating an image link to this ...

Lee mas