#NEWLINE# def get_fb_user_cookie( self , request ) : #NEWLINE# #INDENT# ' Attempt to find a facebook user using a cookie. ' #NEWLINE# fb_user = facebook . get_user_from_cookie ( request . COOKIES , settings . FACEBOOK_APP_ID , settings . FACEBOOK_SECRET_KEY ) #NEWLINE# if fb_user : #NEWLINE# #INDENT# fb_user [ 'method' ] = 'cookie' #NEWLINE# #UNINDENT# return fb_user