

Step 2 - Create public URL Next you have to mark the uploaded file as public. Dont include the channels argument or the image will be posted visible into those channel.
:max_bytes(150000):strip_icc()/005_how-to-use-giphy-in-slack-4843228-9ab1093de63d414db01ede42949a29fa.jpg)
Set the following environment variables to. Navigate to the OAuth & Permissions page and select the following bot token scopes:Ĭlick 'Save Changes' and install the app (You should get an OAuth access token after the installation) Set Your Environment Variables Set the Request URL to your server URL + /request.Go back to the app settings and click on Interactive Components.

Short description: Search for a sad gif.Request URL: Your server URL + /command?category=sad.If you're using Heroku, your URL will be something like: You can optionally, add extra Slack command(s) that only search within certain folders (matching against all folders in the gifs path) by adding a query string in the format ?category=folderName to the end of the Request URL, for example: Request URL: Your server URL + /command.Click the 'Create New Command' button and fill in the following:.Go back to the app settings and click on Slash Commands.
