Wechat Login Facebook -
For most apps, implement and merge user accounts on the backend using email or phone number as the common identifier.
GET https://graph.facebook.com/me?access_token=USER_TOKEN&fields=id,name,email Response: wechat login facebook
// Sign in with Facebook const fbCred = FacebookAuthProvider.credential(fbToken); await signInWithCredential(auth, fbCred); // Later sign in with WeChat (via custom token) const wechatToken = await getWechatCodeFromSDK(); const customToken = await backendExchangeWechatCode(wechatToken); await signInWithCustomToken(auth, customToken); // Firebase links accounts if email matches | Goal | Feasibility | |------|--------------| | “Login to WeChat using Facebook credentials” | ❌ Not supported by WeChat | | “Login to your app using WeChat or Facebook, with linked accounts” | ✅ Fully supported via backend account linking | For most apps, implement and merge user accounts