This Choreo cancels any relationship between the acting user and the specified user. The documentation for this Foursquare resource can be found here.
The following is a sample of the JSON information returned by this Choreo:
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<item type="objectType">choreo</item>
<item type="longDescription">
<![CDATA[
This Choreo changes whether the acting user will receive pings (phone notifications) when the specified user checks in. The documentation for this Foursquare resource can be found [[https://developer.foursquare.com/docs/users/setpings|here]].
The following is a sample of the JSON information returned by this Choreo:
{{{
{
"meta":{
"code":200
},
"notifications":[
{
"type":"notificationTray",
"item":{
"unreadCount":2
}
}
],
"response":{
"user":{
"id":"8567311",
"firstName":"Aaron",
"lastName":"Jennings",
"gender":"male",
"relationship":"self",
"photo":{
"prefix":"https:\/\/irs3.4sqi.net\/img\/user\/",
"suffix":"\/8567311-1XU5Y3K4BBCFK1DH"
},
"friends":{
"count":4,
"groups":[
{
"type":"friends",
"name":"Mutual friends",
"count":0,
"items":[
]
},
{
"type":"others",
"name":"Other friends",
"count":4,
"items":[
{
"id":"12852031",
"firstName":"Jonhny",
"lastName":"Smith",
"gender":"none",
"relationship":"friend",
"photo":{
"prefix":"https:\/\/irs0.4sqi.net\/img\/user\/",
"suffix":"\/3FW3M3LAVPJS3AC1.jpg"
},
"tips":{
"count":2
},
"lists":{
"groups":[
{
"type":"created",
"count":6,
"items":[
]
}
]
},
"homeCity":"New York, NY",
"bio":"",
"contact":{
"phone":"2122748131",
"email":"fstmb@mailinator.com"
}
}
]
}
]
},
"tips":{
"count":11
},
"homeCity":"Brooklyn, NY",
"bio":"",
"contact":{
"email":"aaron.jennings@temboo.com",
"twitter":"qatemboo"
},
"checkinPings":"off",
"pings":false,
"type":"user",
"badges":{
"count":3,
"items":[
{
"id":"4fece0a0e4b0b41ec68ffd77",
"badgeId":"4c4f08667a0803bbab202ab7",
"name":"Adventurer",
"unlockMessage":"You unlocked the Adventurer badge!",
"description":"You've checked into 10 different places! Now, how about inviting some friends into the mix? You can share recommendations and check out new spots together!",
"badgeText":"You've checked into 10 different places! Now, how about inviting some friends into the mix? You can share recommendations and check out new spots together!",
"image":{
"prefix":"https:\/\/playfoursquare.s3.amazonaws.com\/badge\/",
"sizes":[
57,
114,
200,
300,
400
],
"name":"\/adventurer.png"
},
"unlocks":[
{
"checkins":[
{
"id":"4fece0a0e4b0b41ec68ffd67",
"createdAt":1340924064,
"type":"checkin",
"timeZoneOffset":-240,
"venue":{
"id":"4a80bde2f964a52015f61fe3",
"name":"Magnani Caruso Dutton",
"contact":{
"phone":"2125004500",
"formattedPhone":"(212) 500-4500",
"twitter":"mcdpartners"
},
"location":{
"address":"138 W 25th St",
"crossStreet":"btwn 6th & 7th ave.",
"lat":40.744684,
"lng":-73.993566,
"postalCode":"10001",
"cc":"US",
"city":"New York",
"state":"NY",
"country":"United States"
},
"categories":[
{
"id":"4bf58dd8d48988d124941735",
"name":"Office",
"pluralName":"Offices",
"shortName":"Office",
"icon":{
"prefix":"https:\/\/ss1.4sqi.net\/img\/categories_v2\/building\/default_",
"suffix":".png"
},
"primary":true
}
],
"verified":true,
"stats":{
"checkinsCount":2236,
"usersCount":112,
"tipCount":6
},
"url":"http:\/\/www.mcdpartners.com",
"venuePage":{
"id":"38187967"
},
"storeId":""
},
"photos":{
"count":0,
"items":[
]
},
"posts":{
"count":0,
"textCount":0
},
"comments":{
"count":0
},
"source":{
"name":"foursquare for Android",
"url":"https:\/\/foursquare.com\/download\/#\/android"
}
}
]
}
]
}
]
},
"scores":{
"recent":0,
"max":42,
"goal":50,
"checkinsCount":0
},
"createdAt":1302642821
}
}
}