samedi 28 mars 2015

social-auth gives "wrong" facebook id

I use django social-auth for facebook login and need to get facebook user id for using in facebook chat xmpp. Playing it manually, i knew that my id is 100001130388257 but then noticed that social-auth holds another id: 770613082986364



request.user.social_auth.get(provider='facebook').uid


Both of them work and redirect to my fb account when in browser but I can't use for facebook chat xmpp the one which social-auth has. Please advice.


Aucun commentaire:

Enregistrer un commentaire