Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

integration fitbit user with salesforce

 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

Best Answer
0 Votes
0 REPLIES 0