Random Tweet Widget


This plugin displays a random post from a Twitter account in a sidebar widget.

The plugin is based on the Twitter API version 1.1 and requires you
to create a personal Twitter Application on the dev.twitter.com website.
Within your Application, Twitter provides two strings: the Consumer Key and the Consumer Secret.
You also need two other strings, the Access Token and the Access Token Secret, that you can get
following this guide.
Finally, enter all the Authorization string in the widget options box, along with your favorite display settings: your Twitter Widget is now ready and active!

You can use the same Authorization strings for several widgets and multiple websites.
Just remember to store them in a safe place!

Your PHP environment needs to have the CURL and OPENSSL extensions enabled.


For more informations: www.whiletrue.it

Do you like this plugin? Give a chance to our other works:


Best is to install directly from WordPress. If manual installation is required, please make sure to put all of the plugin files in a folder named random-twitter-widget (not two nested folders) in the plugin directory, then activate the plugin through the Plugins menu in WordPress.


Does the widget show my tweets in real time?

Yes they’re shown in real time, although you have to refresh the page for them to appear.

How can I modify the styles?

You can set your own style modifying or overriding the rule:
div.random_tweet_widget { /* your stuff */ }


It does what it claims, with a small memory footprint. I also made it, so my opinion is probably biased.


“Random Tweet Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。


將 Random Tweet Widget 外掛本地化為台灣繁體中文版。


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄



  • Plugin tested up WordPress 6.1


  • Changed: switch to the WP HTTP API


  • Added: Twitter API 1.1 support


Initial release