def get_fb_token():
global ACCESS_TOKEN<EOL>if not os.path.exists(TOKEN_FILE):<EOL><INDENT>print("<STR_LIT>")<EOL>webbrowser.open(get_url('<STR_LIT>',<EOL>{'<STR_LIT>':APP_ID,<EOL>'<STR_LIT>':REDIRECT_URI,<EOL>'<STR_LIT>':'<STR_LIT>'}))<EOL>httpd = http.server.HTTPServer(('<STR_LIT:127.0.0.1>', <NUM_LIT>), RequestHandler)<EOL>while ACCESS_TOKEN is None:<EOL><INDENT>httpd.handle_request()<EOL><DEDENT><DEDENT>else:<EOL><INDENT>ACCESS_TOKEN = open(TOKEN_FILE).read()<EOL><DEDENT>return ACCESS_TOKEN<EOL>
Returns access token, optionally launches browser session 
    to get the token via a facebook login.
    esterhui: got this code from the interweb, but can't find the reference now.