BACK TO DIRECTORY

WP-jTweets

by Aaron Reimann

0.0
(0 ratings)

A widget that shows a user’s recent posts from X (formerly Twitter). It can fade the posts in and out one at a time using the jQuery that ships with WordPress, or simply list them. You choose how many posts to show and how long each stays. It is simple, but if you know CSS you can make it look very nice.

Important: reading posts requires an X developer account and an X API plan that allows reading posts. X controls which plans include this and what they cost. See https://docs.x.com/ for current details.

Getting a Bearer Token

  1. Sign in to the X developer portal.
  2. Create a project and an app, on a plan that allows reading posts.
  3. Open the app’s “Keys and tokens” tab and generate a Bearer Token.
  4. Paste it into the widget’s “X API Bearer Token” field.

External services

This plugin connects to the X API (https://api.x.com/2/) to retrieve the recent posts, display name and avatar of the X user you enter in the widget. This is needed to show the feed.

Each time the feed is not already cached (results are cached for 30 minutes, the user lookup for one day) your server sends: the X username you entered, the number of posts requested and your own Bearer Token (as the Authorization header, to authenticate your app). No data about your site’s visitors is sent. Your server’s IP address is visible to X as part of the normal request.

The service is provided by X Corp.: Developer Agreement and Policy, Terms of Service and Privacy Policy.

The avatar image, if you enable “Show avatar / user”, is loaded by your visitors’ browsers from X’s image servers (pbs.twimg.com).

Screenshots

The admin section showing the widget settings

The admin section showing the widget settings

The widget on the front end

The widget on the front end

Plugin Details

Active Installs
10
Total Downloads
5,313
Version
2.0.0
Requires WP
5.0
Requires PHP
7.2
Tested Up To
7.1.4
Added
2011-10-23
Last Updated
2026-10-05 2:58pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0