Open vgoklani opened 10 years ago
Any progress on this one? Facing the same problem here.
Can you post the full traceback? Also a code sample demonstrating the problem would be helpful.
I have to supply "data={}" to these calls or it fails like that for me too.
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: