Extension:ShoogleTweet
Appearance
This extension is incompatible with MediaWiki 1.39 or any later release! You are advised against using this extension on a live site.
|
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
ShoogleTweet Release status: unmaintained |
|
---|---|
Implementation | Tag , Hook |
Description | Provides a high availability Twitter feed |
Author(s) | Christopher Schirner (Schinkentalk) |
Latest version | 1.0 |
MediaWiki | 1.6+ |
Database changes | No |
License | MIT License |
Download | GitHub: Note: README |
Example | Hackerspace Bamberg |
|
|
The ShoogleTweet extension is a MediaWiki extension which provides the last N tweets of a given screen name on your desired Wikipedia page. It also caches the results in an apc-cache if it exist.
Installation
[edit]Step 1 - Retrieving OAuth Access
[edit]- Navigate to the Twitter "My Applications" page and create a new application
- After creating the application the 'Consumer Key' and 'Consumer Secret' will be provided. You'll need that later
Step 2 - Installing the Extension
[edit]- Navigate to the
$IP/extensions
directory of your mediawiki installation - git clone https://github.com/b4ckspace/mediawiki-ShoogleTweet
- cd mediawiki-shoogletweet/
- git submodule init
- git submodule update
- Enable the extension by adding this line to your
LocalSettings.php
:require_once("$IP/extensions/mediawiki-shoogletweet/ShoogleTweet.php");
$wgShoogleTweetConsumerKey = '#YOUR_CONSUMER_KEY#';
$wgShoogleTweetConsumerKeySecret = '#YOUR_CONSUMER_KEY_SECRET#';
Usage
[edit]Once installed, you may display tweets to any given screen_name!
Just add
<ShoogleTweet limit="6">b4ckspace</ShoogleTweet>
to your desired wiki page
The output can be styled with this piece of CSS:
#tw-list {
margin:0;
padding: 0;
}
#tw-list li{
list-style:none;
margin-bottom: 2px;
padding: 4px;
}
#tw-list li.even{
background-color:#f8f8f8;
}