#NEWLINE# def get_fb_user( self , request ) : #NEWLINE# #INDENT# ' Return a dict containing the facebook user details, if found.\n\n        The dict must contain the auth method, uid, access_token and any\n        other information that was made available by the authentication\n        method.\n        ' #NEWLINE# fb_user = None #NEWLINE# methods = [ 'get_fb_user_cookie' , 'get_fb_user_canvas' ] #NEWLINE# for method in methods : #NEWLINE# #INDENT# fb_user = getattr ( self , method ) ( request ) #NEWLINE# if fb_user : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# #UNINDENT# return fb_user