Re:How to build your own Slack integration
by wonkaWonka on Monday August 24, 2015 @04:56PM
(#10112879)
Also:
...have to debug your API token, before you can integrate with it, right?
[ Parent
| on HN ]
Re:How to build your own Slack integration
by phoenixbox on Monday August 24, 2015 @06:56PM
(#10113379)
Hey, not quite sure what the question is, can you rephrase it?
Requests to slack require the slack token to be included in the request params ``` qs: { "token": integration.get('slack_token'), "channel": integration.get('channel_id'), "username": 'Partyline', "attachments": JSON.stringify(attachment), "icon_url": SLACK_BOT_ICON, }, } ```