11-20-2018 06:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-20-2018 06:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am able to verify a subscriber and need to add subscription for that I need access token.
Need help to generate access token and add subscriber. I am using C#.
Any help would be greatly appreciated.
11-21-2018 14:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
11-21-2018 14:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



11-21-2018 14:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @Pradip_S,
We're hoping to offer more code samples in the future. The only sample code Fitbit references is here. We have one C# example available. You might be able to find some other code through internet searches.
If you have verified a subscriber before creating the application, you might be getting a little ahead of yourself. First, you'll need to have an application that uses OAuth 2 to allow Fitbit users the ability to grant access of their data to your application. Through the OAuth process, you'll receive an access token. You'll use this access token in the header to execute the various Web API endpoints that fetch data and add subscribers. The subscribers will notify you that one of the users, who have authorized your application access to their data, has updated their data and is ready to be fetched.
Gordon
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

