omab/django-social-auth — pull request #542 by rudyryk (2012-12-08 21:45:37+00:00)
Title: Fix: Facebook authentication for users without username

We actually should not rely on 'username' and 'name' fields for Facebook authentication.

I've spend a couple hours trying to find out what's wrong with user's account I'm trying to authenticate. The reason is 'username' field in response was empty and 'name' was non-ascii.

So, i propose to use ``fb%(id)s`` for username if there's no 'username' field in response from Facebook.