def _connectToFB(self):
if self.connected_to_fb:<EOL><INDENT>logger.debug("<STR_LIT>")<EOL>return True<EOL><DEDENT>logger.debug("<STR_LIT>")<EOL>token = facebook_login.get_fb_token()<EOL>try:<EOL><INDENT>self.fb = facebook.GraphAPI(token)<EOL><DEDENT>except:<EOL><INDENT>print("<STR_LIT>")<EOL>return False<EOL><DEDENT>self.connected_to_fb=True<EOL>return True<EOL>
Establish the actual TCP connection to FB