DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:twitter

twitter Plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" yes
  • 2015-08-10 "Detritus" yes

plugin Show tweets or searches from Twitter (previous author Christoph Lang)

Last updated on
2016-04-06
Provides
Syntax
Repository
Source

Tagged with embed, listing, search, social, twitter, users

Description

This syntax will enable users to put tweets and searches from twitter on a page. It uses the media cache thereby bypassing twitter's tracking cookies and complying with EU privacy guidelines.

Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

After installation you need to create a Twitter application so you can obtain the necessary OAuth credentials (oauth consumer key, oauth consumer secret, oauth token and oauth token secret) which must be entered in the admin page.

Purpose

If you want to show some tweets from twitter on a DokuWiki page, use this Plugin. The syntax is easy:

[TWITTER:TYPE:USERNAME/SEARCHWORD:COUNT]

Replace the following:

  • TYPE: Valid options are USER and SEARCH: USER will show a timeline of a user and SEARCH will search for a given word on twitter.
  • USERNAME/SEARCHWORD: The name of the user (in USER mode) or word (in search mode).
  • COUNT: The number of tweets to show, when in user mode.

And here are some valid examples:

//The 5 latest tweets from user schwarzenegger.
[TWITTER:USER:schwarzenegger:5]
//All tweets from user BritneySpears
[TWITTER:USER:BritneySpears]
//Search for the word mj
[TWITTER:SEARCH:mj]
//Search for the word dokuwiki
[TWITTER:SEARCH:dokuwiki]
plugin/twitter.txt · Last modified: 2018-05-29 10:07 by mprins