Oauth token must be passed in headers (not just in url)
Closed this issue · 1 comments
dmitriyshashkin commented
Since recently API requires that oauth token is passed in headers, not just in url. And now every request to API fails with the message "user not authorized".
The problem can be easily fixed by passing oauth token in the request headers. E.g. r = requests.get(url, headers={'Authorization': 'OAuth ' + user_request.token})
dmitriyshashkin commented