| Platform | Requirement | |----------|-------------| | WeChat | – WeChat Open Platform developer account – App approved for WeChat OAuth 2.0 (scope: snsapi_userinfo ) – Mobile app configured with WeChat SDK (iOS/Android) | | Facebook | – Facebook Developer account – App configured for Facebook Login – Valid OAuth redirect URI |

GET https://api.wechat.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code

"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o", "access_token": "ACCESS_TOKEN", "unionid": "optional"

It does not allow Facebook login. It allows WeChat to scan your Facebook friends list to see which of them also have WeChat accounts. It is a one-way data scrape, not an authentication method.