This Choreo uses your OAuth credentials to authenticate your account with Fitbit, and update visibility of the user for friend's leaderboards. The documentation for this Fitbit resource can be found here.
Here's an example list of acceptable inputs:
AccessToken: {YOUR FITBIT ACCESS TOKEN}
HideMeFromLeaderboard: true
The following is a sample of the JSON information returned by this Choreo:
{
"friends": [
{
"average": {
"steps": 0
},
"lifetime": {
"steps": 0
},
"rank": {
"steps": 1
},
"summary": {
"steps": 0
},
"user": {
"avatar": "http://www.fitbit.com/images/profile/defaultProfile_100_male.gif",
"avatar150": "http://www.fitbit.com/images/profile/defaultProfile_150_male.gif",
"country": "US",
"dateOfBirth": "1975-09-04",
"displayName": "Aaron",
"encodedId": "25BF4D",
"fullName": "",
"gender": "MALE",
"height": 160.10000000000002,
"locale": "en_US",
"memberSince": "2013-03-19",
"nickname": "",
"offsetFromUTCMillis": -14400000,
"strideLengthRunning": 0,
"strideLengthWalking": 0,
"timezone": "America/New_York",
"weight": 0
}
},
{
"average": {
"steps": 0
},
"lastUpdateTime": "2013-02-05T16:30:54",
"lifetime": {
"steps": 14368
},
"rank": {
"steps": 1
},
"summary": {
"steps": 0
},
"user": {
"aboutMe": "test about me",
"avatar": "http://www.fitbit.com/images/profile/defaultProfile_100_male.gif",
"avatar150": "http://www.fitbit.com/images/profile/defaultProfile_150_male.gif",
"city": "Broooklyn",
"country": "MA",
"dateOfBirth": "1975-09-04",
"displayName": "Aaron",
"distanceUnit": "en_US",
"encodedId": "22MK7Y",
"foodsLocale": "en_US",
"fullName": "Aaron Jennings",
"gender": "MALE",
"glucoseUnit": "en_US",
"height": 63,
"heightUnit": "en_US",
"locale": "en_US",
"memberSince": "2011-10-04",
"nickname": "temboodev",
"offsetFromUTCMillis": 0,
"strideLengthRunning": 32.800000000000004,
"strideLengthWalking": 26.1,
"timezone": "Etc/UTC",
"waterUnit": "en_US",
"weight": 78.6,
"weightUnit": "METRIC"
}
}
],
"hideMeFromLeaderboard": "true"
}