This repository is used to include the code snippets for small utilities that are useful.
How to get the Channel ID of the Slack Channel from which you want to read the data? Click on the channel link in the left menu. Click on the channel name on the top. A pop up gets opened and you will see the channel id at the bottom of that pop up.
How to get the slack token to authenticate and read the messages from the specified channel? First, you need to create a slack app from the slack web login. Second, you need to go to the URL : https://api.slack.com/apps. On this URL you will be able to see the app that you created. Third, Below the list of apps that you are seeing, there will be an option to generate the token. CLick on Generate the token and start using that in your code.