Plugin Directory

Latest Tweets

Access the latest tweets from anywhere (user timeline, list, followers, etc).

Once configured using the Twitter API credentials, the default behaviour is to return the tweets from the authenticated user account.

The behaviour can be changed by specifying a method representing an API call, as detailed in the CodeBird docs - https://github.com/jublonet/codebird-php#3-mapping-api-methods-to-codebird-function-calls

When an API call requires parameters, these can be specified in the Parameters field, so e.g.:

Method: lists_statuses
Parameters: slug=my_list_name&owner_screen_name=my_screen_name

Display is left up to you. In your template you can do something like:

  <?php foreach (Latest_Tweets::range(1) as $tweet): ?>
        <?php echo $tweet->user->name ?>
        <span><a href="http://twitter.com/<?php echo $tweet->user->screen_name ?>"><?php echo $tweet->user->screen_name ?></a></span>
      <p><?php echo Latest_Tweets::highlight($tweet->text) ?></p>
  <? endforeach ?>

You can also get just one tweet with:


Requires: 3.0.1 or higher
Compatible up to: 3.7.11
Last Updated: 2 years ago
Active Installs: 20+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.