Title: Twitter API Shortcodes
Author: rgeyer
Published: <strong>December 13, 2010</strong>
Last modified: June 6, 2012

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/twitter-api-shortcodes.svg)

# Twitter API Shortcodes

 By [rgeyer](https://profiles.wordpress.org/rgeyer/)

[Download](https://downloads.wordpress.org/plugin/twitter-api-shortcodes.zip)

 * [Details](https://wordpress.org/plugins/twitter-api-shortcodes/#description)
 * [Reviews](https://wordpress.org/plugins/twitter-api-shortcodes/#reviews)
 *  [Installation](https://wordpress.org/plugins/twitter-api-shortcodes/#installation)
 * [Development](https://wordpress.org/plugins/twitter-api-shortcodes/#developers)

 [Support](https://wordpress.org/support/plugin/twitter-api-shortcodes/)

## Description

Twitter API Shortcodes (TAS for short) is currently in Alpha, and should not be 
considered at all stable! With that said
 please provide any feedback so we can 
make things better!

TAS allows you to put single tweets or entire twitter searches into your posts and
pages using shortcodes. The tweets and searches
 are displayed in HTML markup, so
the become “part” of your site, which is good for SEO.

The generated markup can be customized by putting a tweet.tpl (smarty template) 
file into your theme directory. This also means that
 theme authors can support 
this plugin directly.

Tweet templates assume that each tweet is in some block with the class ‘status’ (
preferably a div like so

<

div class=”status”>), and that in that block, there is a block for images with the
class ‘images’ (preferably a div like so

<

div class=”images”>)

All single tweets are cached in your local wordpress database, making performance
ultra fast and reducing the number of requests
 necessary to the Twitter API.

Twitter searches can also be cached, allowing you to keep a history of that particular
search. This is useful if you want to
 tweet about a particular event with a hash
tag, then display all of your tweets for that event on a page, or in a post even
after those tweets fall out of the twitter search index.

### TODO

This is a list of things which currently are not yet working (hey it’s an alpha 
version)
 * Avatar updates

## Screenshots

[⌊TinyMCE editor integration makes it easy to add the shortcodes⌉⌊TinyMCE editor
integration makes it easy to add the shortcodes⌉[

TinyMCE editor integration makes it easy to add the shortcodes

[⌊A post with some shortcodes in it⌉⌊A post with some shortcodes in it⌉[

A post with some shortcodes in it

[⌊The shortcodes rendered in a post⌉⌊The shortcodes rendered in a post⌉[

The shortcodes rendered in a post

## Installation

Twitter API Shortcodes depends upon the Smarty PHP templating engine. Since we’re
good little boys and girls, we won’t include the library with the plugin, so you’ll
have to go get it yourself! But don’t worry, it’s not hard simply go to;

http://www.smarty.net/download.php

And grab the latest stable version. Twitter API Shortcodes was built using version
2.6.26, but it’s probably safe to assume that any 2.6.x version of Smarty will do.

Once you’ve got the latest version, extract the zip, or tar.gz file, and copy the
contents of the “libs” directory to /wp-content/twitter-api-shortcodes/libs/smarty/

**Update 0.0.3Alpha** From version 0.0.3Alpha of TAS onward Smarty 3.0.x is supported
too, but be sure you’re running PHP5 before you try Smarty 3!

## FAQ

TODO

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Twitter API Shortcodes” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ rgeyer ](https://profiles.wordpress.org/rgeyer/)

[Translate “Twitter API Shortcodes” into your language.](https://translate.wordpress.org/projects/wp-plugins/twitter-api-shortcodes)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/twitter-api-shortcodes/),
check out the [SVN repository](https://plugins.svn.wordpress.org/twitter-api-shortcodes/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/twitter-api-shortcodes/)
by [RSS](https://plugins.trac.wordpress.org/log/twitter-api-shortcodes/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.0.3Alpha

 * The “Why Authenticate” dialog can be reopened after being dismissed
 * Updated to support Smarty 3.0.x

#### 0.0.2Alpha

 * Changes to metadata files (like this readme) and getting a feel for the WordPress
   submission process

#### 0.0.1Alpha

 * Initial Alpha release, seeking input from brave users

## Meta

 *  Version **0.0.3Alpha**
 *  Last updated **14 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 2.9 or higher **
 *  Tested up to **3.0.5**
 * Tags
 * [api](https://wordpress.org/plugins/tags/api/)[search](https://wordpress.org/plugins/tags/search/)
   [shortcode](https://wordpress.org/plugins/tags/shortcode/)[twitter](https://wordpress.org/plugins/tags/twitter/)
 *  [Advanced View](https://wordpress.org/plugins/twitter-api-shortcodes/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/twitter-api-shortcodes/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/twitter-api-shortcodes/reviews/)

## Contributors

 *   [ rgeyer ](https://profiles.wordpress.org/rgeyer/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/twitter-api-shortcodes/)