09-26-2024 03:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-26-2024 03:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello
I am developing an app using MIT appinventor.
when i wirte Edit the Application, I don't know what to write in the Redirect URL * blank space.
What should I do if I don't know app url?
Please tell me how to connect Fitbit api to AppInventor.
09-30-2024 06:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-30-2024 06:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @ydk12
We describe the redirect URL a few times in the documentation. I would recommend reading through the Authorization section to help you understand the authorization flow. Basically, when the user selects the data they want to share with your application, the user needs to be redirected back to a location in your application which will accept the created authorization code and convert it to the access token and refresh token. The authorization code will be appended to the redirect URL after redirection occurs. So, you're application will need to parse the authorization code from the current URL so your application can use it in the /oauth2/token call.
If you haven't established an external endpoint (URL) for the redirection, then lots of people use localhost. If you do this, I believe you will have to manually extract the authorization code and paste it into your application code.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

