Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Build Status Maintainability GitHub license

wp-slack-logbot

Descriptions

  • Plugin: WP Slack Logbot
  • Contributors: ryotsun
  • Tags: WordPress, Slack, logs
  • Requires at least: 4.9
  • Tested up to: 5.1-alpha-20181015.143023
  • Requires PHP: 5.3
  • Stable tag: 1.6.0
  • License: GPLv2 or later

Stores all messages of particular channels on slack. And able to see them.

Specifications

  • Save all posts on slack to the database in WordPress
  • It will be made blog posts by each channel per day
  • Create categories by teams and channels automatically

Installation

Install Plugin

  1. Upload this repository to plugins directory, or install from admin page.
  2. Activate WP Slack Logbot

Create Slack App

In order to complete installation, need to create a slack-bot user and issue the Bot User OAuth Access Token.

  1. Visit SlackAPI page and click Create New App button on the top right. create new app1

  2. Fill-out the following fields, and click Create App button.

    • App Name

    • Development Slack Workspace

      create new app2

  3. Add Bot User

    1. Click Bot User link on the left side menu.
    2. Fill-out the following fields, and click Add Bot User add bot user
  4. Enable Event Subscriptions

    1. Click Event Subscriptions link on the left side menu.

    2. Turn Enable Events ON. enable events

    3. Put Request URL like following URL.

      • https://your-domain.com/wp-json/wp-slack-logbot/events/
      • Then, it would be verified.
    4. Set the following Subscribe to Workspace Events

      • message.channels
      • message.groups
    5. Set Subscribe to Bot Events like below

      • message.channels
      • message.groups
    6. Click Save Changes

    7. After saving completed, follow the direction after saving completed

  5. OAuth & Permissions

    1. Click OAuth & Permissions link on the left side menu. insall app to workspace

    2. Click Install App to Workspace button

    3. Then it will be shown OAuth Access Token and Bot User OAuth Access Token generated token

      • Copy Bot User OAuth Access Token
        • This time, only use Bot User OAuth Access Token

Plugin Settings

  1. Go to Plugin Setting page
    1. Paste Bot User OAuth Access Token which is copied earlier. insall app to workspace
    2. Then click Save Changes button

Invitation to the channel

  1. Invite logbot to the channels
    • Both are allowed to invite logbot to the public channels and private channels.

That's all for installation.

You can’t perform that action at this time.