Plugin Information
Twitter Timeline 1.1.1
- Author:
- Derek Jones
- Date:
- Apr 13, 2007
- License:
- First Party License
Allows you to display information from Twitter timelines
Requirements
ExpressionEngine version 1.5.2 or higherExample Usage
{exp:twitter_timeline type="friends" user="email@example.com" password="password1"}
<div class="tweet">
<div class="date">{created_at format="%m-%d %g:%i"}</div>
<div class="author">
<div class="icon"><img src="{profile_image_url}" width="48" height="48" alt="profile image" /></div>
{name}
</div>
<div class="status">{text}</div>
</div>
{/exp:twitter_timeline}
Notes
------------------PARAMETERS:
------------------
type="user"
- Type of timeline. Either "user", "friends", or "public". Default is "public".
user="email@example.com"
- Email address of Twitter user. Required for "user" or "friends" timelines
password="password1"
- Password of the Twitter user. Required for "user" or "friends" timelines
limit="5"
- Number of status messages to limit to. Default (and maximum value) is 20.
twitter_refresh="20"
- Time (in minutes) of cache interval for the requested Twitter timeline. Defaults to 15.
------------------
VARIABLES:
------------------
{count}
{switch="one|two|three"}
{created_at format="%m-%d-%Y"}
{status_relative_date}
{text}
{id}
{user_id}
{name}
{screen_name}
{location}
{description}
{profile_image_url}
{url}
{protected}
------------------
TROUBLESHOOTING:
------------------
All error messages are logged in the Template Parsing Log. If you have no output, or unexpected output, enable the Template Parsing Log in your Output and Debugging Preferences.
Even though this tag has its own caching mechanism for retrieving the timeline from Twitter.com, do not forget that you can further increase performance by using Tag Caching
------------------
CHANGELOG:
------------------
Version 1.1.1 - improved handling for situations where Twitter's server is down
Version 1.1 - added error handling for Twitter XML error responses

