Extension:ShoogleTweet

Category:Extensions incompatible with 1.39 Category:Unmaintained extensions#ShoogleTweet Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:MIT licensed extensions
MediaWiki extensions manual
ShoogleTweet
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Tag Category:Tag extensions, Hook Category:Hook extensions
Description Provides a high availability Twitter feed
Author(s) Christopher Schirner (Schinkentalk)
Latest version 1.0
MediaWiki 1.6+Category:Extensions with manual MediaWiki version
Database changes No
License MIT License
Download Category:Extensions in GitHub version control
README
Example Hackerspace Bamberg
  • $wgShoogleTweetConsumerKey
  • $wgShoogleTweetConsumerKeySecret
Category:All extensionsCategory:Extensions not in ExtensionJson

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

Step 1 - Retrieving OAuth Access

  1. Navigate to the Twitter "My Applications" page and create a new application
  2. After creating the application the 'Consumer Key' and 'Consumer Secret' will be provided. You'll need that later

Step 2 - Installing the Extension

  1. Navigate to the $IP/extensions directory of your mediawiki installation
  2. git clone https://github.com/b4ckspace/mediawiki-ShoogleTweet
  3. cd mediawiki-shoogletweet/
  4. git submodule init
  5. git submodule update
  1. 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

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;
 }
Category:Data extraction extensions Category:Twitter extensions
Category:All extensions Category:Data extraction extensions Category:Extensions in GitHub version control Category:Extensions incompatible with 1.39 Category:Extensions not in ExtensionJson Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:Hook extensions Category:MIT licensed extensions Category:Tag extensions Category:Twitter extensions Category:Unmaintained extensions