def OAuthGetAccessTokenCGI(outfile):
 outfile.write('Status: 200\r\n')
 outfile.write('Content-Type: text/plain\r\n')
 outfile.write('\r\n')
 outfile.write('oauth_token=ACCESS_TOKEN')
 outfile.write('&')
 outfile.write('oauth_token_secret=ACCESS_TOKEN_SECRET')

def OAuthGetAccessTokenCGI ( outfile ) : outfile . write ( 'Status: 200\r\n' ) outfile . write ( 'Content-Type: text/plain\r\n' ) outfile . write ( '\r\n' ) outfile . write ( 'oauth_token=ACCESS_TOKEN' ) outfile . write ( '&' ) outfile . write ( 'oauth_token_secret=ACCESS_TOKEN_SECRET' )
runs the oauthgetaccesstoken cgi .