import webbrowser
import time
-import json
from .api import Twitter, json
from .oauth import OAuth, write_token_file
auth=OAuth('', '', consumer_key, consumer_secret),
format='', api_version=None)
oauth_token, oauth_token_secret = parse_oauth_tokens(
- twitter.oauth.request_token())
+ twitter.oauth.request_token(oauth_callback="oob"))
print("""
In the web browser window that opens please choose to Allow
access. Copy the PIN number that appears on the next page and paste or