Learn about DokuWiki
Learn about DokuWiki
Compatible with DokuWiki
Similar to autotweet
このページは日本語でご覧頂けます（This page is also available in Japanese）
I’m not a native English speaker, so this page may contain some mistakes in English sentences.
When pages are changed, this plugin will post tweets through Twitter API.
It seems that Autotweet (1) Plugin is no longer be supported, so I newly made it.
When I made this plugin, this page (in Japanese) was really helpful for me.
JUST adding this plugin to your wiki won't activate the auto-tweet. You should read this section through the end.
You'll have to create an app through Twitter Apps. Follow the instruction below.
Go to https://apps.twitter.com , and log in with the Twitter account you want to activate the auto-tweet.
If you have never made apps through Twitter Apps, you'll see this screen, then choose
Create New App.
Maybe you are seeing this screen.
Fill in the form. You don't have to enter Callback URLs.1)
Read the Twitter Developer Agreement, then check the box and push
Create your Twitter application.
Are you seeing this screen? Good!
You'll have to register your phone number to your twitter account. Follow the instructions by Twitter.2)
Keys and Access Tokens.
…and you'll see this screen. Then scroll down.
Your Access Token, then push
Create my access token.
Now you can see your Consumer Key, Consumer Secret, Access Token, and Access Token Secret.
You'll enter them to the config of this plugin. Use Configuration Manager, scroll to Autotweet2, and fill in the blanks (also, you can change other settings of the plugin).
Consumer Secret and Access Token Secret shouldn't be seen by others. Please be sure that your conf directory is secured (see web_access_security).
OK, the plugin is ready!
When pages in your wiki are changed, the Twitter app will notice with URLs of the pages.
You can change the following setting by using the Configuration Manager.
|Option||Description||Value Type||Default Value|
|See the instruction above.||string||3)|
|Subjects of the auto-tweet (choose from when edited, reverted, created, deleted, and edited [minor changes])||multiple choice from ||
|Template of the message|
###WIKITITLE###→The title of this wiki
###PAGETITLE###→The title of the edited page
###TYPE###→The type of editing (“edited”, “reverted”, “created”, “deleted”, or “edited (minor change)” will be shown)
###SUMMARY###→The summary of editing
###PAGEURL###→The URL leading to the edited page (if there is not ###PAGEURL###, the URL will be automatically added to the last of the template)
|Pages that will not be subjects of auto-tweet (separate by vertical bars “|”)|
I'll do my best if you think this leaves something to be desired
If you find some problems in this plugin, you can make issue topics on the GitHub page, or if you wanna contact me for other things, you can contact me by: