07-17-2018 06:25
07-17-2018 06:25
Hi Team,
I'm trying to integrate salesforce and fitbit.
I have already done basic integration.
HttpRequest req = new HttpRequest();
Http http = new Http();
req.setMethod('GET');
req.setEndpoint('callout:Fitbit/1/user/-/profile.json');
HttpResponse res = http.send(req);
return res.getBody();
Using above request i can get the my user data from fitbit.
We have a 5000 customer and planning those 5k user's a fitbit account, in salesforce we are storing those 5k user secret and consumer key in one object.
How can i send a request to Fitbit dynamically and get the data from fitbit and display in salesforce.
Can some one help me how can i implement this scenario.
Regards,
Venky