Title: WP-jTweets
Author: Aaron Reimann
Published: <strong>23 outubro, 2011</strong>
Last modified: 5 novembro, 2026

---

Pesquisar plugins

![](https://ps.w.org/wp-jtweets/assets/banner-772x250.png?rev=3738174)

![](https://ps.w.org/wp-jtweets/assets/icon-256x256.png?rev=3738174)

# WP-jTweets

 Por [Aaron Reimann](https://profiles.wordpress.org/areimann/)

[Baixar](https://downloads.wordpress.org/plugin/wp-jtweets.2.1.0.zip)

 * [Detalhes](https://br.wordpress.org/plugins/wp-jtweets/#description)
 * [Avaliações](https://br.wordpress.org/plugins/wp-jtweets/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/wp-jtweets/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/wp-jtweets/#developers)

 [Suporte](https://wordpress.org/support/plugin/wp-jtweets/)

## Descrição

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](https://developer.x.com/en/portal/dashboard).
 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](https://developer.x.com/en/developer-terms/agreement-and-policy),
[Terms of Service](https://x.com/en/tos) and [Privacy Policy](https://x.com/en/privacy).

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

## Capturas de tela

[⌊The admin section showing the widget settings⌉⌊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⌉[

The widget on the front end

## Blocos

Este plugin disponibiliza 1 bloco.

 *   WP jTweets Show a user's recent X (Twitter) posts, with an optional fade-in/
   fade-out effect.

## Instalação

 1. Upload the plugin to the `/wp-content/plugins/` directory and activate it.
 2. Enter your X API Bearer Token (see “Getting a Bearer Token” below) under Settings
    > WP jTweets.
 3. Add the “WP jTweets” block in the block editor, or use the shortcode `[jtweets 
    username="aaronreimann" number="3"]`, or add the “WP jTweets” widget to a sidebar(
    the widget has its own token field).

Shortcode options: username, number (1-20), theme (card, minimal, outline, compact,
original, none, twentytwelve-light, twentytwelve-dark), show_avatar, show_retweets,
show_replies, new_window, no_fade (set to 1), time_pause (ms), pixel_height, grow_method(
grow-only, resize, no-resize), bg_color, text_color, link_color, meta_color.

## Perguntas frequentes

### Why do I need a Bearer Token now?

X retired the old v1.1 API that earlier versions of this plugin used. Version 2.0
uses the X API v2, which needs only a Bearer Token. The old API key, secret and 
access token fields are no longer used.

### The widget says “No tweets to display”

If you are logged in as an administrator, the widget also shows the reason (for 
example a bad token, or an API plan that does not allow reading posts). Failed requests
are cached for 5 minutes.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“WP-jTweets” é um programa de código aberto. As seguintes pessoas contribuíram para
este plugin.

Colaboradores

 *   [ Aaron Reimann ](https://profiles.wordpress.org/areimann/)

[Traduzir o “WP-jTweets” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/wp-jtweets)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/wp-jtweets/), consulte
o [repositório SVN](https://plugins.svn.wordpress.org/wp-jtweets/) ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/wp-jtweets/)
por [RSS](https://plugins.trac.wordpress.org/log/wp-jtweets/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 2.1.0

 * Added Gutenberg Block Style variations with one-click visual previews: Modern
   Card (Default), Minimal Clean, Bordered Outline, and Compact List.
 * Added dedicated color pickers for background, tweet text, links/mentions, and
   timestamps across the Gutenberg block, Elementor widget, Beaver Builder module,
   and [jtweets] shortcode.
 * Added the [jtweets] shortcode.
 * Added a “WP jTweets” Gutenberg block with a live preview and sidebar settings.
 * Added a Settings > WP jTweets page for a site-wide Bearer Token used by the shortcode,
   block and page-builder modules.
 * Added a native Elementor widget and a native Beaver Builder module (they appear
   automatically when those plugins are active).

#### 2.0.0

 * Uses the X API v2 with a Bearer Token (the v1.1 API no longer works). The old
   key/secret/token fields are removed.
 * Replaced the bundled TwitterOAuth library with the WordPress HTTP API. cURL is
   no longer required, and SSL certificates are now verified.
 * Output is escaped. Tweet text, usernames and links are sanitized.
 * Widget settings are sanitized when saved.
 * “Show retweets” and “Open links in new window” now work.
 * The stylesheet and script only load on pages that show the widget.
 * Fixed duplicate class attribute and misspelled avatar CSS classes.
 * Documented the external service. Declared the license in the readme.
 * Compatible with PHP 7.2 to 8.5.

#### 1.1.5

 * Changed some of the naming to match what Twitter now calls the fields.

#### 1.1.4

 * Standardizes the code to be more “The WP Way”

#### 1.1.3

 * Added classes (in addition to IDs for backwards compatibility) to display multiple
   Twitter IDs on the same page
 * Styling and JS now run off of classes
 * Added option to allow resizing on fading tweets

#### 1.1.2

 * Adds option to display or not to retweets

#### 1.1.1

 * Adds an option to show “header” section to show the user’s name and avatar
 * Adds linking for @usernames, #hashtags and URLs
 * Adds basic theming options
 * Adds transient for “caching” of the feed

#### 1.1.0

 * Uses the Twitter API version 1.1

#### 1.0.6

 * Wraps the LI’s into a UL for better HTML validation

#### 1.0.5

 * Adds the ability to disable the fade in/out and just display the feed without
   jQuery
 * Calls in a style.css within the plugin so you don’t have to drop in the CSS in
   a theme

#### 1.0.4

 * Uses jQuery ‘data’ method to pass time rotation instead of showing in the HTML
 * Adds some error checking in case the Twitter user doesn’t exist or the feed doesn’t
   pull

#### 1.0.3

 * Changes to use the new Twitter API which caused an “array_slice” error

#### 1.0.2

 * Removed redundant Javascript in the front end

#### 1.0.1

 * Readme and notes changes

#### 1.0

 * Initial release

## Meta

 *  Versão **2.1.0**
 *  Última atualização **5 dias atrás**
 *  Instalações ativas **10+**
 *  Versão do WordPress ** 5.0 ou superior **
 *  Testado até **7.1.4**
 *  Versão do PHP ** 7.2 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/wp-jtweets/)
 * Tags
 * [feed](https://br.wordpress.org/plugins/tags/feed/)[tweets](https://br.wordpress.org/plugins/tags/tweets/)
   [twitter](https://br.wordpress.org/plugins/tags/twitter/)[widget](https://br.wordpress.org/plugins/tags/widget/)
   [x](https://br.wordpress.org/plugins/tags/x/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/wp-jtweets/advanced/)

## Classificações

Ainda não foi enviada nenhuma avaliação.

[Sua avaliação](https://wordpress.org/support/plugin/wp-jtweets/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/wp-jtweets/reviews/)

## Colaboradores

 *   [ Aaron Reimann ](https://profiles.wordpress.org/areimann/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/wp-jtweets/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](https://aaronreimann.com)