fix user id token
This commit is contained in:
parent
26620708f3
commit
4d4992ed1d
@ -55,7 +55,7 @@ def add_twitter_account():
|
|||||||
oauth_tokens = oauth.fetch_access_token(access_token_url)
|
oauth_tokens = oauth.fetch_access_token(access_token_url)
|
||||||
|
|
||||||
new_twitter_account = TwitterAccount(
|
new_twitter_account = TwitterAccount(
|
||||||
user_id = 'Q9De5dPreNhc8DdrmUBmSE3AYyk1',
|
user_id = user_id,
|
||||||
twitter_account_id = oauth_tokens['user_id'],
|
twitter_account_id = oauth_tokens['user_id'],
|
||||||
username = oauth_tokens['screen_name'],
|
username = oauth_tokens['screen_name'],
|
||||||
access_token = oauth_tokens['oauth_token'],
|
access_token = oauth_tokens['oauth_token'],
|
||||||
|
Loading…
Reference in New Issue
Block a user