Latest Tweets Plugin
The Latest Tweets plugin allows you to easily display your last few tweets from your public twitter timeline in your Mura content using a simple tag syntax.
Installing a plugin is a pretty painless procedure.
- Login to your install's admin.
- Click 'Site Settings' in the upper right hand corner.
- Click the 'Plugins' tab.
- Under the 'Upload new plugin' header choose the zip file that you downloaded (link below) and click deploy.
- Choose the sites you'd like this plugin to be available on.
- Click the 'Update' button.
That's it!
If you want to place your twitter feed on a page simply edit the page and paste the following code (minus the spaces after the [ ) where you want it to be displayed.
[ LatestTweets twitterName:stevegood]
You can also control the number of tweets displayed and override the default CSS with your own. This plugin also works in components with a slightly different syntax. You can read more on the plugin info page after it is installed.
Download: LatestTweets-1.2.6.3.zip
** Version 1.2.6.3 Fixes some compatability issues when prototype is loaded on a page.
** Version 1.2.6 Adds in the 'days' calculation. Previous versions only calculated as high as hours.
** Version 1.2.5 Fixes a problem where IE and Opera would show NaN instead of the timestamp of the tweet. Also replaces the the tweet's time stamp and calculates elapsed time since the tweet was posted.
** Version 1.2.6.1 fixes some backwards compatibility for ColdFusion 7.
Related Content
Comments
- Sean Schroeder
-
Hi Steve,
Just curious, can you explain the difference between using this plugin and using your Twitter feed as a Remote Feed in Mura Content Collections?
Great to see you cranking out the plugins!
- May 21, 2010, 6:36 PM
- Steve Good
-
Hey Sean,
The biggest difference is that my plugin does all the work via javascript and since the data retrieval is happening client side the IP for my server never needs to be whitelisted and does not interfere with Twitter's request caps. I found that even using the Twitter RSS feeds are governed by their request caps.
- May 21, 2010, 6:47 PM
- Rick Webb
-
Hi Steve,
I'm getting the following error in IE:
Message: 'created_at' is null or not an object
Line: 632
Char: 8
Code: 0
In results in the "xx days" bot being displayed.
Are you aware of this error and if so any idea when this might be fixed?
Many thanks
Rick
PS. Great plugin by the way! ;o)
- April 2, 2011, 7:38 AM
- Steve Good
-
@Rick I wasn't aware of that, thanks for letting me know. I'll take a look and see what the issue is. I doubt it will be a very big issue to fix, so expect an update soon.
- April 2, 2011, 9:52 AM