def get_fb_user(self, request):
        fb_user = None
        methods = ['get_fb_user_cookie', 'get_fb_user_canvas']
        for method in methods:
            fb_user = getattr(self, method)(request)
            if (fb_user):
                break
        return fb_user
Return a dict containing the facebook user details, if found.
dataset/ETHPy150Open aidanlister/django-facebook/django_facebook/middleware.py/FacebookMiddleware.get_fb_user