Last updated: December 4, 2013 (3 months ago)
Compatibility (latest version): 100% (of votes)
Tested up to (WP version): WP 3.7.1
Download count: 78,120
Rating: 5 (out of 5)
Hassle-free and user-friendly way to add a Twitter Feed to your website. Get started in just a few clicks without the need to setup your own Twitter App. Use the provided Widget or Shortcode to easily display your Tweets on your website.
Why use Kebo Twitter Feed?
- Get started in just a few clicks. No setting up your own Twitter App.
- Fits seamlessly with your current site design.
- Friendly and active support.
- Compatible with any WordPress hosting.
- WordPress Multisite compatible.
- Refreshes Tweets in the background, never impacts pageload.
- Translation ready (see below for included languages).
Other solutions usually require you to create a Twitter App and provide the plugin with oAuth credentials yourself. We don't believe it should be that hard, and with our plugin you can get the Tweets displayed on your website with just a few clicks.
- Hassle-free setup (no creating a Twitter App).
- Easily display Tweets with a Widget or Shortcode.
- Choose to show a profile image, attached media and much more with your Tweets.
- Advanced Caching, so that we never impact pageload speed.
- Local cache backup, in case the connection to Twitter has problems.
Rate Us / Feedback
Please take the time to let us and others know about your experiences by leaving a review. If your use of our plugin has not been a five star experience we would like to understand why, so that we can improve the plugin for you and other users.
This is the settings page for the plugin, you will need to connect your website to Twitter by clicking the 'Conntect to Twitter' button.
Once you have setup a connection to Twitter, this is what the settings page should look like. You will now have access to our Widget.
This is the Widget you can use to display your Twitter Feed.
The Widget in action on the soon to be released theme 'Twenty Thirteen' coming in the next major WordPress update.
An example of how the Widget fits into the design of a theme automatically.
Styling the Widget
We use the the inbuilt methods to output the Widget and Title containers so that it should fit seamlessly into your website.
If you want to style the inside of the Widget below is the HTML structure:
<a><img class="kavatar" /></a>
The slider has one significant change which is that the containing unordered list has an ID of 'kebo-tweet-slider'.
You can directly access the object containing all the Tweets like this:
<?php $tweets = kebo_twitter_get_tweets(); ?>
This function checks the cache and refreshes the data if needed. Then returns the object containing all the Tweets. Below is an example of how you might use the data:
<?php $tweets = kebo_twitter_get_tweets(); ?>
<?php $i = 0; ?>
<?php if ( isset( $tweets->created_at ) ) : ?>
<?php foreach ($tweets as $tweet) : ?>
<?php echo $tweet->text; ?>
<?php if (++$i == 10) break; ?>
<?php endforeach; ?>
<?php else : ?>
<p>Sorry, the Tweet data is not in the expected format.</p>
<?php endif; ?>
What data is available?
The object we store contains everything that the Twitter API returns, leaving what you use in your control. Below are some of the most useful items:
$tweet->id_str // Tweet ID
$tweet->created_at // Date/Time created
$tweet->text // The content text (URLs already HTML links)
$tweet->user->id_str // Author ID
$tweet->user->name // Author display name
$tweet->user->screen_name // Author screen name
$tweet->user->location // Author location
$tweet->user->description // Author description
$tweet->user->followers_count // Author followers count
$tweet->user->friends_count // Author friends count
$tweet->user->profile_image_url // Authors profile image URL
$tweet->user->profile_image_url_https // As above but with HTTPS
There are many ways you could use this information for more than just a Twitter Feed. For example you could also use this to track the follower count of your Twitter account for display on your website.
Currently there is one Shortcode which can be used to replicate the behavior of the Widget. You can call this shortcode in the content of a post and/or page using:
Or by using PHP directly:
<?php echo do_shortcode('[kebo_tweets]'); ?>
Here is the shortcode with all the available attributes and their default values:
[kebo_tweets title="" count="5" style="list" theme="light" offset="false" avatar="off" conversations="false" media="false"]
The available options are:
Title - Text
Count - 1-50
Style - list/slider
Theme - light/dark
Avatar - on/off
Offset - 1-50
Conversations - true/false
Media - true/false
WordPress has inbuilt functionality for embedding Tweets directly into posts/pages. You can do this by simply pasting the full URL of the Tweet into the content, the URL will look similar to this:
Latest Change log entry:
- Bug Fix: Styled the Tweet list item to height: auto, so that general theme styling does not alter the height of the Tweets.
feed, latest tweets, shortcode, tweets, twitter, twitter api, twitter feed, widget
Plugin short code is useful for displaying in a page, with various display options.