invalid_request - Invalid redirect_uri parameter value
Hey guys, I'm getting this error on Step 6 when I try to authorize the app:
The app you're trying to connect did not provide valid information to Fitbit. Please report this issue to them.
Developer information: invalid_request - Invalid redirect_uri parameter value
I was able to bypass this error by selecting OAuth2 version 19 (instead of selecting the latest version) in the resources library in the scripts.
Probably related to #15
According to https://github.com/googlesamples/apps-script-oauth1 the callback url uses the script-id instead of the project key. The script-id can be obtained by clicking File -> Project properties in the Google Apps script editor. In my case this worked with the latest version 21 of OAuth2.
Please follow these new and updated instructions instead. I've described in a step by step fashion on how to use SCRIPT ID instead of a Project Key: http://www.joe0.com/2017/03/18/how-to-sync-fitbit-data-to-google-spreadsheet/ I hope it helps.
Script ID instead of project key. Can we add this to the documentation. Would have saved me an hour.