I try to post a slack message via the fetch API in a browser:  fetch('https://hooks.slack.com/services/xxx/xxx/xx', {   method: 'post',   headers: {     'Accept': 'application/json, text/plain, */*',     'Content-t...
I have a html message like this:  <!DOCTYPE html> <html> <head lang="en">     <meta charset="UTF-8">     <title></title>     <script type="text/javascript">         (function(){...
I'm building a Slack integration that is intended to modify some text and then post it to a Slack channel as though the user who triggered the command had said it.  e.g. /makeFace disapproval  @Ben 3:45pm  ?_?  I ask for the client permission sco...
I'd like to put a "Share on Slack" button on my website. It would be similar to the buttons we have for "Share on Facebook" and "Share on Twitter". A user would click on it and be able to post some text and a link that we...
When doing the following with Slacks Bolt framework:  app.client.conversations.history({       token: token,       channel: channelId,       latest: messageId,       count: 1     })   I'm getting Error: An API error occurred: missing_scope.   I&#...
I'm trying to obtain a list of private channels in Slack (on a per-user basis is fine), but I'm having trouble seeing this information. I installed my application into the workspace in Slack originally and got an OAuth token in the form xoxp-...
I'm trying to use this method provided via the Slack API to grab the "name" attribute of the "user" object and the code I'm using to do that is as follows:  controller.hears(['users'], 'direct_message, direct_menti...
i'm trying to create a chess bot to play with other users on the workspace. I can't figure out how to create a private conversation including 2 users (the 2 players) and the bot user. To play in private.  I tried to use the slack api but it d...
I'm trying to develop an app for slack. I'm want to get the code parameter send in answer to the oauth flow with a slack button but I don't know how to get the parameter.  In fact I sent first the button then someone can click on it an im...
I have set up what I think should be a working JSON output to send a message in slack but Slack keeps rejecting it.  I have tried multiple different message layout formats using the guides on slack's api site, but so far the only method that has...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.