question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firebase Auth uses Facebook Graph API v2.12, which is after end-of-life

See original GitHub issue

Firebase 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:17 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
noinskitcommented, Aug 27, 2020

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.

0reactions
cubuspl42commented, Aug 31, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

v12.0 - Graph API
The Graph API default behavior is to throw an error when an app requests a field or edge that returns an associated node...
Read more >
Firebase-auth Error with Facebook - Stack Overflow
Graph API v2.2 has reached the end of its 2-year lifetime on 27 March, 2017, so this might be connected. You should check...
Read more >
Past Migrations - Auth0
End of life : 03 November 2021 (Public Cloud). Auth0 legacy network edge will cease to function on Public Cloud. After 03 November...
Read more >
Updating to 3.0 | Capacitor Documentation
Node 10 will reach end-of-life on April 30th, 2021. Capacitor 3 requires NodeJS 12 or greater. (Latest LTS version is recommended.) Ionic CLI​....
Read more >
Authenticate Using Facebook Login with JavaScript - Firebase
// This gives you a Facebook Access Token. You can use it to access the Facebook API. const credential = FacebookAuthProvider.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found