splitwise / api-docs

API documentation for the Splitwise API.
http://dev.splitwise.com
29 stars 16 forks source link

Clarify instructions on getting an OAuth2 Bearer token #9

Closed rofreg closed 6 years ago

rofreg commented 6 years ago

Closes #7.

Issue 1: The error message we were returning ("Your device's clock is off...") was incorrect due to a bug in Splitwise's server code. That will be fixed shortly in a separate PR.

Issue 2: Our instructions weren't clear enough about how to find the bearer token correctly. When using our sample code to obtain a Bearer token, you should NOT copy the token from the URL – that token is just an authorization code, and not an actual Bearer token. I've updated the instructions for ruby--oauth2 to print the Bearer token more clearly to the console, and added comments to help guide future developers.