![]() Scroll down to App Credentials and copy Signing Secret for the SLACK_SIGNING_SECRET.For SLACK_SIGNING_SECRET go to the Basic Information tab from your application's page.Run the following command to create a virtual environment:.Make sure you have python3.6 or higher installed.Write its name as search gifs as shortcut name and set a short description like search best gifs to send, then add the Callback ID as search_shortcut and press the Create button.Select Global for it to be displayed when shortcut button is used.Come to the Interactivity & Shortcuts tab and press Create New Shortcut button.Write /find-gif as command and set a short description like finds gifs.Come to the Slash Commands tab and press Create New Command button.At the same page, open Subscribe to bot events and add the followings:.Go to your application and from Event Subscriptions tab set Enable Events as On.You need to create a new application from here.Prerequisites Website Related Prerequisites Since this is a platform dependent project which depends on slack, we need to set some configurations on their website to use this project. There is also a possibility to extend (create new one like this) this repository to collect different applications in one place as open source. Current solution is giving you first 10 gifs from the search of Giphy API. Currently it is still not the perfect solution but planning to try different approaches. So decided to write an application to solve this issue. Both metods did not seem perfect for the ease of use. Before this project you had two options, you can use Giphy's integration which gives you a random gif and you can shuffle or you can go to the website directly and copy the gif directly from there. A slack message from my friend Grace was the initial motivation for this project, thanks to her. This is a project to select a gif in an easier way to send it from slack. Activate Virtual Environment and Install `requirements.txt`.Gif finder application for slack which uses Giphy API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |