Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Jan H
Current version:
0.9
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 4 No
Flag it:
Contact Reason [ ? ]

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
Article modified:
29 Dec 2009

Comments/questions? Leave a message in the form.

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern