Facebook.py : more 'pythonic'