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

subscribtion quesiton

ANSWERED

Hi,

I have question regarding subscription:

1- when i subscribe a user for notification, will this value be saved in your data stroe? or i have to do it everytime user is authenticated?

2- How can I get a notification for Blood pressure, glocose and heart?

3- I have subscribed this url: http://38.99.172.130:8080/cxf/fit/?notify=, in my application information which assccable to fitbit but when I subscribe a user for acrivity notification, I didn't get any notification and I saw in the application details screen a message says 405 failed:1

 

can you please tell me what I am doing wrong?

Thanks

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi, 

 

1- when i subscribe a user for notification, will this value be saved in your data stroe? or i have to do it everytime user is authenticated? - yes we store your subscription and you don't have to re-subscriber again

 

2- How can I get a notification for Blood pressure, glocose and heart? - you can not, those types of data are not supported by push notifications.

 

3- I have subscribed this url: http://38.99.172.130:8080/cxf/fit/?notify=, in my application information which assccable to fitbit but when I subscribe a user for acrivity notification, I didn't get any notification and I saw in the application details screen a message says 405 failed:1I'd suggest executing this request /1/user/-/apiSubscriptions.json and see if you have any subscriptions already for this user.

Ivan Bahdanau
Senior Software Developer at Fitbit

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

Hi, 

 

1- when i subscribe a user for notification, will this value be saved in your data stroe? or i have to do it everytime user is authenticated? - yes we store your subscription and you don't have to re-subscriber again

 

2- How can I get a notification for Blood pressure, glocose and heart? - you can not, those types of data are not supported by push notifications.

 

3- I have subscribed this url: http://38.99.172.130:8080/cxf/fit/?notify=, in my application information which assccable to fitbit but when I subscribe a user for acrivity notification, I didn't get any notification and I saw in the application details screen a message says 405 failed:1I'd suggest executing this request /1/user/-/apiSubscriptions.json and see if you have any subscriptions already for this user.

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes

Hi Rana,

I am new to the fitbit dev, please help me as i am facing the same issue.

Thanks,

Balashiva

Best Answer
0 Votes