You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KeyError: 'Decoder failed to handle oauth_token with data as returned by provider. A different decoder may be needed. Provider returned: \n\n The access_token method must be called with a request_token\n /oauth/access_token\n\n'
The text was updated successfully, but these errors were encountered:
All of my Twitter POST requests are failing. I've followed the examples for authenticating:
self.oauth = OAuth1Service(
name='twitter',
consumer_key=consumer_key,
consumer_secret=consumer_secret,
request_token_url='https://api.twitter.com/oauth/request_token',
access_token_url='https://api.twitter.com/oauth/access_token',
authorize_url='https://api.twitter.com/oauth/authorize',
base_url='https://api.twitter.com/1.1/'
)
self.session = self.oauth.get_session( (access_token_key, access_token_secret) )
self.session.post('lists/members/create_all.json', params={'list_id':list_id, 'owner_screen_name':owner_screen_name, 'screen_name':chunked_screen_names_str})
The GET requests all work correctly.
I also tried to use an auth_session:
self.oauth.get_auth_session(access_token_key, access_token_secret, method='POST')
but received this error:
The text was updated successfully, but these errors were encountered: