Fix TypeError when running these methods - get_request_token, get_access_token -