Libraryless. Click here for Pure Java version (302L/3K/8K).
1 | !752 |
2 | |
3 | static S token; |
4 | static S userID = "U0FF6RTT8"; |
5 | |
6 | p {
|
7 | token = loadSecretTextFileMandatory("#1001889", "relp-slack-botstuff-token").trim();
|
8 | S url = "https://slack.com/api/users.info"; |
9 | S postData = "token=" + urlencode(token) + "&user=" + urlencode(userID); |
10 | S data = doPost(postData, url); |
11 | print(data); |
12 | } |
Began life as a copy of #1001889
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1001916 |
| Snippet name: | Try getting Slack user names |
| Eternal ID of this version: | #1001916/1 |
| Text MD5: | 37d096b14e8f93ad056945cb5b13a47d |
| Transpilation MD5: | ad429277c754e785c13fcc445d8f7993 |
| Author: | stefan |
| Category: | |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-12-06 19:50:11 |
| Source code size: | 329 bytes / 12 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 865 / 949 |
| Referenced in: | [show references] |