namaggarwal / splitwise

Python SDK for Splitwise
MIT License
183 stars 46 forks source link

sObj.getAuthorizeURL() does not return oauth_verifier #21

Closed vishalseshagiri closed 6 years ago

vishalseshagiri commented 6 years ago

My URL looks something like this https://secure.splitwise.com/authorize?oauth_token=####################

namaggarwal commented 6 years ago

You need to redirect your user to this URL, which will present a login page. After that it will redirect to your application and will give you oauth_verifier

yashbhutoria commented 5 years ago

As per my need, this will run on a serverless function under automation. How do I get oauth_verifier in that case?

namaggarwal commented 5 years ago

You would need to get a token first and hardcode that in your automation code. Its 3 legged OAuth so it requires user's authentication