!752 static S token; static S channelID = "C0FH9PY8J"; // #talkingbots static S timestamp = "1449606813.001101"; p { token = loadSecretTextFileMandatory("#1001889", "relp-slack-botstuff-token").trim(); S url = "https://slack.com/api/reactions.get"; S postData = "token=" + urlencode(token) + "&channel=" + urlencode(channelID) + "×tamp=" + urlencode(timestamp); S data = doPost(postData, url); print(data); Map map = jsonDecodeMap(data); Map msg = cast map.get("message"); printStructure(msg); L reactions = cast msg.get("reactions"); printStructure(reactions); for (Map r : reactions) { S name = cast r.get("name"); if (litlist("+1").contains(name)) print("+1!"); } }