Closed
Description
My code:
from twython import Twython
APP_KEY = 'my app_key'
APP_SECRET ='my app_secret_key'
OAUTH_TOKEN = auth['oauth_token']
OAUTH_TOKEN_SECRET = auth['oauth_token_secret']
twitter = Twython(APP_KEY, APP_SECRET)
auth = twitter.get_authentication_tokens(callback_url='http://www.mysite.com/callback')
twitter = Twython(OAUTH_TOKEN)
twitter.request('https://ads-api.twitter.com/0/accounts/myaccountid/campaigns')
and got error like this
Twitter API returned a 401 (Unauthorized), This request is not properly authenticated
what should i do?
Metadata
Metadata
Assignees
Labels
No labels