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 sign up to Twitter Developer Platform to use Twitter API.
Sorry but I'm not motivated to introduce you about signing up to the platform and creating Twitter API. Google about them.
Be careful, it takes several days to be accepted by Twitter.
You'll enter your Consumer Key, Consumer Secret, Access Token, and Access Token Secret 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).
The picture is the screen of https://apps.twitter.com, which became unable to create Twitter API.
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||1)|
|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
###EDITOR###→Who changed the wiki (Follows the config “showuseras”)
###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)
|What to replace ###EDITOR### of the template with if the editor was not logging in||pull-down choice from ||
|Pages that will not be subjects of auto-tweet (separate by vertical bars “|”)|
|If the editor is a manager, show the debug information (a body (JSON) and a response header) when the plugin is run (Use this option to investigate causes when the plugin doesn't work well.)||boolean||
@not to violent the Twitter rule that prohibits “automated @ tweets”
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: