Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
Jan H
Current version:
0.9
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 4 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

jrh_twounter

jrh_twounter

Credits

This plugin was ported with permission from the Twounter Wordpress plugin (v1.01) by Muhammad Haris (link).

Kudos should be given solely to Muhammad, I myself have only modified it to be compatible with Textpattern.

Requirements

  • Textpattern 4.20 or newer.
  • A host that allows fopen wrappers, since use is made of the PHP function file_get_contents.
  • The plugin adds one table called ‘jrh_twounter’ to your database as soon as you enable the plugin. The table is dropped upon removal of the plugin.

Function of this plugin

This plugin provides one single tag which you can put anywhere in your page to display the number of followers of your Twitter profile.

How to use

Call the jrh_twounter tag, and for the ‘username’ attribute, specify your Twitter username.

Example that gives the number of followers of twitter.com/textpattern:

<txp:jrh_twounter username="textpattern" />

Formatting

The tag returns just an unformatted number, so add your own HTML markup around the tag to suit your needs.

Article Request Count:
Keywords/tags:
Initially released:
December 29th 2009
Posted here:
29 Dec 2009

You know you want to visit the Archives.
Published with Textpattern