django - social-auth gives "wrong" facebook id -


i use django social-auth facebook login , need facebook user id using in facebook chat xmpp. playing manually, knew id 10000xxxxxxxxxxxxx noticed social-auth holds id: 77061xxxxxxxxx4

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

both of them work , redirect fb account when in browser can't use facebook chat xmpp 1 social-auth has. please advice.

it not wrong id, since v2.0 don´t global id anymore called "app scoped id". unique in 1 app , stay same, 1 in app.

https://developers.facebook.com/docs/apps/changelog


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -