🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Tweets Widget icon
Peut-être abandonné Tested up to 4.5.33 #1 in loklak

Tweets Widget

Use anonymous Loklak API OR Connect your Twitter account to this plugin and the widget will display your latest tweets on your site.

Installations actives10+10+ niveaux
Téléchargements · 30D162▲ +6.6% vs prev. 30d
Évaluation5/51 avis
Score de santé30/100En danger
Téléchargements de tous les temps3.6KSince Aug 2016
Support résolu—Aucun fil de discussion récent
A besoin deWP 3.5.1Php tout
Téléchargements · 7j38▼ -2.6% week over week
Notre verdict

Envisager une alternative

Tweets Widget shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 10 years ago, and scores 30/100 on our health check.

  • Petite base d'utilisateurs (plus de 10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Pas de mise à jour dans 10 ans
  • Uniquement testé jusqu'à WordPress 4,5 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

61218Sep 1Oct 15Nov 29
Hier4
Moyenne quotidienne (1 ans)4
Jour de pointe2414 Septembre 2026
12 Derniers mois1.4K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Tweets Widget stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
loklak #1 2 Best loklak plugins →
loklak api #1 2 Best loklak api plugins →
oauth >100 1,858 Best oauth plugins →
tweets >100 695 Best tweets plugins →
twitter >100 3,954 Best twitter plugins →

Adoption de version

Part de sites actifs par version.

  • 1.0100.0%

Répartition des notes

★★★★★ ★★★★★ 5 sur 1 avis

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Tweets Widget

À partir du Lisezmoi officiel · v1.0

Description

Use anonymous Loklak API OR Connect your Twitter account to this plugin and the widget will display your latest tweets on your site.

This plugin is compatible with the new Twitter API 1.1 and provides full OAuth authentication via the WordPress admin area.

Shortcodes

You can embed tweets in the body of your posts using a WordPress the shortcode [tweets].

To specify a different user’s timeline add the user attribute.
To override the default number of 5 tweets add the max attribute, e.g:

[tweets max=10 user=KhoslaSopan]<h3>Theming</h3>

For starters you can alter some of the HTML using built-in WordPress features.
See Widget Filters
and Widgetizing Themes

CSS

This plugin contains no default CSS. That’s deliberate, so you can style it how you want.

Tweets are rendered as a list which has various hooks you can use. Here’s a rough template:

.tweets {
    /* style tweet list wrapper */
}
.tweets h3 {
    /* style whatever you did with the header */
}
.tweets ul { 
    /* style tweet list*/
}
.tweets li {
   /* style tweet item */
}
.tweets .tweet-text {
   /* style main tweet text */
}
.tweets .tweet-text a {
   /* style links, hashtags and mentions */
}
.tweets .tweet-text .emoji {
  /* style embedded emoji image in tweet */ 
}
.tweets .tweet-details {
  /* style datetime and link under tweet */
}

HTML personnalisé

If you want to override the default markup of the tweets, the following filters are also available:

  • Add a header between the widget title and the tweets with tweets_render_before
  • Perform your own rendering of the timestamp with tweets_render_date
  • Render plain tweet text to your own HTML with tweets_render_text
  • Render each composite tweet with tweets_render_tweet
  • Override the unordered list for tweets with tweets_render_list
  • Add a footer before the end of the widget with tweets_render_after

Here’s an example of using some of the above in your theme’s functions.php file:

add_filter('tweets_render_date', function( $created_at ){
    $date = DateTime::createFromFormat('D M d H:i:s O Y', $created_at );
    return $date->format('d M h:ia');
}, 10 , 1 );

add_filter('tweets_render_text', function( $text ){
    return $text; // <- will use default
}, 10 , 1 );

add_filter('tweets_render_tweet', function( $html, $date, $link, array $tweet ){
    $pic = $tweet['user']['profile_image_url_https'];
    return '<p class="my-tweet"><img src="'.$pic.'"/>'.$html.'</p><p class="my-date"><a href="'.$link.'">'.$date.'</a></p>';
}, 10, 4 );

add_filter('tweets_render_after', function(){
    return '<footer><a href="https://twitter.com/me">More from me</a></footer>';
}, 10, 0 );<h3>Caching</h3>

Responses from the Twitter API are cached for 5 minutes by default. This means your new Tweets will not appear on your site in real time.

This is deliberate not only for performance, but also to avoid Twitter’s strict rate limits of 15 requests every 15 minutes.

You can override the 300 second cache by using the tweets_cache_seconds filter in your theme as follows:

This would extend the cache to 1 minute, which is the lowest value you should consider using on a live site:

add_filter('tweets_cache_seconds', function( $ttl ){
    return 60;
}, 10, 1 );

This would disable the cache (not recommended other than for debugging):

add_filter('tweets_cache_seconds', function( $ttl ){
    return 0;
}, 10, 1 );<h3>Emoji</h3>

If you want to disable Emoji image replacement, you can filter the replacement callback function to something empty, e.g:

add_filter('tweets_emoji_callback', function( $func ){
    return '';
} );
  • or to strip Emoji characters from all tweets, return your own replacement function that returns something else, e.g:

    add_filter(‘tweets_emoji_callback’, function( $func ){
    return function( array $match ){
    return ‘‘;
    };
    } );

    Crédits

    Screenshot taken with permission from http://stayingalivefoundation.org/blog

  • Portuguese translations by Leandro Dimitrio

  • German translations by Florian Felsing and David Noh
  • Russian translations by Andrey Yakovenko
  • Dutch translations by Daniel Wichers
  • Spanish translations by Pedro Pica

Notes

Be aware of Twitter’s display requirements when rendering tweets on your website.

Example code here uses PHP closures which require PHP>=5.3.0 and won’t work on older systems.

Installation

  1. Unzip all files to the /wp-content/plugins/ directory
  2. Log into WordPress admin and activate the ‘Tweets’ plugin through the ‘Plugins’ menu

Once the plugin is installed and enabled you can use Loklak API or bind your plugin to a Twitter account as follows:

Use Loklak API

  1. Tick the ‘Loklak API’ checkbox in API authentication settings.
  2. Click on ‘Save settings’

Ou alors

Use Twitter 1.1 API

  1. Register a Twitter application at https://dev.twitter.com/apps
  2. Note the Consumer key and Consumer secret under OAuth settings
  3. Log into WordPress admin and go to Settings > Twitter API
  4. Enter the consumer key and secret and click ‘Save settings’
  5. Click the ‘Connect to Twitter’ button and follow the prompts.

Once your site is authenticated you can configure the widget as follows:

  1. Log into WordPress admin and go to Appearance > Widgets
  2. Drag ‘Tweets’ from ‘Available widgets’ to where you want it. e.g. Main Sidebar
  3. Optionally configure the widget title and number of tweets to display.

Journal de modifications

1.0.1

  • Fixes FAQs
  • Fixes minor URL bugs

1.0

  • A whole new version!

Journal des modifications complet sur WordPress.org →

Captures d'écran

Tweets rendered via Loklak API
Tweets rendered via Loklak API
Admin screen shows Loklak and Twitter API connect button and OAuth settings
Admin screen shows Loklak and Twitter API connect button and OAuth settings
Widget screen shows feed options
Widget screen shows feed options

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Tweets Widget alternatives

All loklak plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
2 Recent Tweet Recent Tweet Recent Tweet plugin for anonymous Loklak API and new Twitter API v1.1 with CACHE, so you… by fossasia 10+ ★★★★★★★★★★ Aucun avis Il ya 10 ans 23

FAQ

Tweets Widget: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Tweets Widget free?

Yes. Tweets Widget is free to download and use from the official WordPress.org plugin directory.

Is Tweets Widget safe to use in 2026?

Tweets Widget shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 10 years ago, and scores 30/100 on our health check.

How many websites use Tweets Widget?

Tweets Widget is active on 10+ WordPress websites and has been downloaded 3,631 times since it launched in August 2016. It was downloaded 162 times in the last 30 days.

Does Tweets Widget work with WordPress 7.1?

Tweets Widget is officially tested up to WordPress 4.5.33, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Tweets Widget last updated?

The latest version, 1.0, was released on August 29, 2016 (10 years ago).

Who makes Tweets Widget?

Tweets Widget is developed and maintained by fossasia.

What are the best alternatives to Tweets Widget?

The most popular alternatives to Tweets Widget are Recent Tweet (10+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir