yuuka_maniaの日記: Slack コマンド開発メモ
日記 by
yuuka_mania
以下で、Client ID と Client Secret を把握する。 oauthv2.access 要求。
https://api.slack.com/apps/XXXXXX
ref.
https://api.slack.com/methods/oauth.v2.access
slash command に関しては↓
https://api.slack.com/interactivity/shortcuts
https://api.slack.com/interactivity/slash-commands
Todo:
- エラー処理をやってみる
- モジュール化
- 複数チケット対応
- デーモン化
OAuth の最後で, Slack から、access token ってのをもらえる。開発するアプリは,OAuth の間,scope ってのを指定しないといけない。
message authentication
ref.
https://api.slack.com/authentication/verifying-requests-from-slack
Administration
→ manage apps
→ 右上の Buildで,自分のアプリケーション一覧がでてくる
→ いじりたい App を選択
→ Signing Secret が確認できる
Slack コマンド開発メモ More ログイン