Why I get forbidden error for only reading home timeline? – Twitter API
My code is as simple as this, but it gave me 403 error: def init_api(): api = json.load(open('secret.json'))['twitterapi'] consumer_key = api['api_token'] consumer_secret = api['api_secret'] access_token = api["access_token"] access_token_secret = api["access_secret"] bearer_token = api["bearer_token"] auth = tweepy.OAuthHandler(consumer_key, consumer_secret) auth.set_access_token(access_token, access_token_secret) api…