Skip to content

erikreagan/er.tweet_me.ee_addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

ER Tweet Me

Automatically links up twitter @mentions and #hashtag searches

Credits

This plugin was is the brainchild of Andy Marshall, @moogaloo and was developed by Erik Reagan, @erikreagan

Instructions

For ExpressionEngine 1.6.x

  • Upload the er_tweet_me/pi.er_tweet_me.php file in your system/plugins directory

For ExpressionEngine 2.x

  • Upload the er_tweet_me directory to the expressionengine/third_party directory

Usage

Single String Use

To turn a single username or hash into a link just use the single tag like this:


{exp:er_tweet_me data="@erikreagan"}
 or
{exp:er_tweet_me data="#expressionengine"}

Longer Text

To convert all occurrences of @name or #hashtag wrap the contents in a tag pair like this:


{exp:er_tweet_me}
{body}
{/exp:er_tweet_me}

Changing the URL

If you prefer to use a website other than twitter you can specify the base URL like this:


{exp:er_tweet_me base_at_url="http://twittercounter.com/" base_hash_url="http://tweefind.com/queryresults.php?q="}
{body}
{/exp:er_tweet_me}

Change Log

Apr 7th, 2010: 1.1.1

  • Feature: Added automatic link creation

Mar 27th, 2010: 1.1.0

  • Feature: Added parameter base_at_url
  • Feature: Added parameter base_hash_url
  • Feature: Updated plugin to support both EE 1.6.x and EE 2.x
  • Bug: Tweaked regular expressions to match mentions and hashes directly following HTML tags
  • Note: Assigned license to add-on: Attribution-Share Alike 3.0 Unported

Oct 5th, 2009: 1.0.0

  • Initial Release

About

Plugin that automatically links up twitter @NAMEs and #hashtags

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages