Firebase Auth uses Facebook Graph API v2.12, which is after end-of-life
See original GitHub issueFirebase Android Auth SDK calls Facebook Graph API v2.12, possibly on the backend. This can be learned by inspecting logs in case of an error:
08-05 14:40:31.075 11998 25757 I AuthChimeraService: Error description received from server: INVALID_IDP_RESPONSE : Failed to fetch resource from https://graph.facebook.com/v2.12/me, http status: 400, http response: {"error":{"message":"Unsupported get request.","type":"GraphMethodException","code":100,"fbtrace_id":"A3Gg_KXAn2F_pbLYZtyC4J6"}} [CONTEXT service_id=16 ]
Official Facebook documentation for v2.12 states that it’s available until May 5h, 2020.
It means that that version is officially unavailable and the plug may be pulled at any time. As I understand it, this would mean breaking Firebase users depending on Facebook login.
Edit: Please note that this issue is not about the error itself (which might actually be a client error), but about the fact that Firebase Auth seems to use unsupported Facebook Graph API version, which can be learned by inspecting the error message.
For information about Facebook token expiration, see Facebook documentation on access tokens. For any other client error, search for appropriate documentation.
Edit 2020-08-31: The Graph API version on Firebase Auth backend seems to have been upgraded to v8.0. It didn’t really help with the error itself, which seems to have been related to Facebook country restrictions. See the comments.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:17 (1 by maintainers)
Top GitHub Comments
I managed to solve my problem with the help of Facebook support: I needed to turn off country restrictions (despite my users being in the country selected). Something must’ve changed about how Facebook country restrictions are applied to Graph API in the last few weeks.
As a) The Graph API version used by Auth backend seems to be updated and b) the Facebook Graph error root cause is known, I’m closing the issue