Title: Autopost for X (formerly Autoshare for Twitter)
Author: 10up
Published: <strong>16 Gennaio 2020</strong>
Last modified: 2 Settembre 2026

---

Ricerca i plugin

![](https://ps.w.org/autoshare-for-twitter/assets/banner-772x250.png?rev=3017651)

![](https://ps.w.org/autoshare-for-twitter/assets/icon.svg?rev=3017651)

# Autopost for X (formerly Autoshare for Twitter)

 Di [10up](https://profiles.wordpress.org/10up/)

[Scarica](https://downloads.wordpress.org/plugin/autoshare-for-twitter.2.3.4.zip)

 * [Dettagli](https://it.wordpress.org/plugins/autoshare-for-twitter/#description)
 * [Recensioni](https://it.wordpress.org/plugins/autoshare-for-twitter/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/autoshare-for-twitter/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/autoshare-for-twitter/#developers)

 [Supporto](https://wordpress.org/support/plugin/autoshare-for-twitter/)

## Descrizione

Autopost for X (formerly Autoshare for Twitter) automatically shares your posts 
to X/Twitter as soon as they’re published. Once you hit the Publish button, the 
plugin sends your post’s title, featured image, and link to X/Twitter, along with
a custom message.

Unlike a myriad of other social media, multitool solutions, Autopost for X is built
solely for X/Twitter. It focuses on doing one thing and does it well, with the code
and interface craftsmanship we apply to every project.

With Autopost for X, developers can further customize nearly everything about the
posts, including the image, author, and link, using an extensive set of hooks built
into the code. Among its other features, the WordPress plugin:

 * Works in both the classic and new block editors.
 * Becomes part of the pre-publish checklist step that’s part of the new block editor.
 * Posts a high-quality featured image with your post to X/Twitter.
 * Counts characters to keep you under the X/Twitter limit.
 * Adds a link to the post to X/Twitter in the block editor sidebar.

**Disclaimer:** _TWITTER, TWEET, RETWEET and the Twitter logo are trademarks of 
Twitter, Inc. or its affiliates._

### Paid API Access

In early 2026, X effectively [removed free API access](https://devcommunity.x.com/t/announcing-the-launch-of-x-api-pay-per-use-pricing/256476)
for all users except public utilities.

Most users will now require paid API access via the [X Developer Console](https://console.x.com/).

### Plugin Compatibility

#### Distributor

When using with 10up’s [Distributor plugin](https://github.com/10up/distributor),
posts that are distributed will not be autoposted if they are already posted to 
X/Twitter from the origin site. Autopost for X tracks posts that have been posted
to X/Twitter in post meta to avoid “double posting”. To avoid this behavior, use
the `dt_blacklisted_meta` filter to exclude the ‘autoshare_for_twitter_status’ meta
value from being distributed :

    ```
    add_filter( 'dt_blacklisted_meta', function( $blacklisted_metas ) {
        $blacklisted_metas[] = 'autoshare_for_twitter_status';
        return $blacklisted_metas;
    } )
    ```

### Developers

**Note:** Posts and pages are supported by default. Developers can use the `autoshare_for_twitter_default_post_types`
filter to change the default supported post types

Custom post types can now be opted into autopost features like so:

    ```
    function opt_my_cpt_into_autoshare() {
        add_post_type_support( 'my-cpt', 'autoshare-for-twitter' );
    }
    add_action( 'init', 'opt_my_cpt_into_autoshare' );
    ```

In addition, adding support while registering custom post types also works. Post
types are automatically set to autopost. Future versions of this plugin could allow
this to be set manually.

While the autopost feature can be opted into for post types using the above filter,
by default the editor still has to manually enable autopost during the post prepublish
flow. The `autoshare_for_twitter_enabled_default` filter allows autopost to be enabled
by default for all posts of a given post type. Editors can still manually uncheck
the option during the publishing flow.

Example:

    ```
    function enable_autoshare_by_default_for_core_post_type( $enabled, $post_type ) {
        if ( 'post' === $post_type ) {
            return true;
        }

        return $enabled;
    }
    add_filter( 'autoshare_for_twitter_enabled_default', 'enable_autoshare_by_default_for_core_post_type', 10, 2 );
    ```

Additional technical details can be found in [our GitHub repository](https://github.com/10up/autoshare-for-twitter#overview).

## Screenshot

[⌊Create post screen with Autopost for X/Twitter options.⌉⌊Create post screen with
Autopost for X/Twitter options.⌉[

Create post screen with Autopost for X/Twitter options.

[⌊Published post screen with Autopost for X/Twitter options.⌉⌊Published post screen
with Autopost for X/Twitter options.⌉[

Published post screen with Autopost for X/Twitter options.

[⌊Autopost for X/Twitter sidebar panel.⌉⌊Autopost for X/Twitter sidebar panel.⌉[

Autopost for X/Twitter sidebar panel.

[⌊Autopost for X/Twitter Settings, found under Settings > Autopost for X/Twitter.⌉⌊
Autopost for X/Twitter Settings, found under Settings > Autopost for X/Twitter.⌉[

Autopost for X/Twitter Settings, found under `Settings` > `Autopost for X/Twitter`.

## Installazione

 1. Install the plugin via the plugin installer, either by searching for it or uploading
    a .ZIP file.
 2. Activate the plugin.
 3. Save X/Twitter connection settings, found under `Settings` > `Autopost for X`.

## FAQ

### Does this plugin work with Gutenberg?

Yes, yes it does! For more details on this, see [#44](https://github.com/10up/autoshare-for-twitter/pull/44).

### Does the plugin work with X/Twitter API V2?

Yes, the plugin is compatible with X/Twitter API v2.

### I’m encountering the error message “401: Unauthorized.” What could be the possible reason for this error?

There are a few potential reasons for this error:
 1. **Incorrect X/Twitter API 
credentials**: Please ensure that you have entered the correct X/Twitter API credentials.
2. **Deprecated access levels**: If you are still using the old X/Twitter access
levels (Standard (v1.1), Essential (v2), Elevated (v2), etc…), you must migrate 
to the new access levels (Free, Basic, Pro, etc.). Please make sure to migrate to
the new access levels to ensure uninterrupted functionality. Here’s how you can 
do it:

    ```
    1. Go to the following URL: https://developer.twitter.com/en/portal/products
    2. Look for the "Downgrade" button.
    3. Click on it to migrate to the free access level.
    ```

### I’m encountering the error message “429: Too Many Requests.” What could be the possible reason for this error?

If you’re seeing the error message “429: Too Many Requests” it indicates that you
have exceeded the usage limits of X/Twitter’s Free API access. With the Free API,
you are allowed **500 requests per month** and **17 requests within a 24-hour period**.
Please note that these limits were accurate at the time of writing and may have 
been updated. For the most up-to-date information, please refer to the X API [documentation](https://developer.x.com/en/docs/x-api/rate-limits).
Since you have surpassed the daily limit, we kindly advise waiting for 24 hours 
before attempting to post again.

To avoid encountering this error in the future and to have higher usage limits, 
we recommend considering a subscription to either the Basic or Pro access level.
These access levels provide increased quotas and additional benefits to accommodate
your needs. For more information on X/Twitter API access levels, you can visit this
link: https://developer.x.com/en/products/x-api.

### Where do I report security bugs found in this plugin?

Please report security bugs found in the source code of the Autoshare for Twitter
plugin through the [Patchstack Vulnerability Disclosure  Program](https://patchstack.com/database/vdp/9e5fba6a-26c2-4dd7-a2ae-b8628c65835e).
The Patchstack team will assist you with verification, CVE assignment, and notify
the developers of this plugin.

## Recensioni

![](https://secure.gravatar.com/avatar/14c70de1c69a3922c513021f1af37e63585a39c35601fc527bf9e81c52bcb5cd?
s=60&d=retro&r=g)

### 󠀁[Professional](https://wordpress.org/support/topic/professional-39/)󠁿

 [yeknafar](https://profiles.wordpress.org/yeknafar/) 7 Luglio 2025 1 risposta

I really liked it. I hoped it had a help video file for start too. Thanks

![](https://secure.gravatar.com/avatar/9be6a408255cab100b39b076e9e46a7e6e033d43ff5fa5ffdb3cd576f3c41358?
s=60&d=retro&r=g)

### 󠀁[It works and has nice documentation](https://wordpress.org/support/topic/it-works-and-has-nice-documentation/)󠁿

 [justinwyllie](https://profiles.wordpress.org/justinwyllie/) 16 Novembre 2024 1
risposta

The documentation on how to connect it to a free developer account is very clear
and accurate. Very welcome to see such nice documentation.

![](https://secure.gravatar.com/avatar/d2387078603d938b7a4f15f8bfb091bcdab37d665c346f4016de7f6bc620d6b3?
s=60&d=retro&r=g)

### 󠀁[Works great with 2.0](https://wordpress.org/support/topic/works-great-with-2-0/)󠁿

 [mattwillms](https://profiles.wordpress.org/mattwillms/) 14 Giugno 2023 1 risposta

This plugin is working with the new Twitter API changes. What a lifesaver!

![](https://secure.gravatar.com/avatar/d0981421dcc574e7c6da0292cad5dd372f5221e004d8a2a52c622306beadae05?
s=60&d=retro&r=g)

### 󠀁[The best twitter plugin in 2023](https://wordpress.org/support/topic/the-best-twitter-plugin-in-2023/)󠁿

 [alhalkab](https://profiles.wordpress.org/alhalkab/) 12 Giugno 2023 1 risposta

Excellent! Thanks

![](https://secure.gravatar.com/avatar/a4798fd487d0fc17ecb944ca5ae66ca7f04aa3b271e3728d7bf932e2cdaf675d?
s=60&d=retro&r=g)

### 󠀁[Works perfect!](https://wordpress.org/support/topic/works-perfect-1037/)󠁿

 [LinearPro](https://profiles.wordpress.org/ibiza69/) 1 Giugno 2023 1 risposta

This plugin works incredibly well, including new Twiiter v2 API. Support its really
quick, professional, polite, kind and patient. It has being a joy to meet this developer.
Thank you!!

![](https://secure.gravatar.com/avatar/9ca10fff4ecce3f5bac480aa6e95c972c4bdcc1508eb351356294efc557b4149?
s=60&d=retro&r=g)

### 󠀁[Love it! Works perfectly](https://wordpress.org/support/topic/love-it-works-perfectly-2/)󠁿

 [Kori Ashton](https://profiles.wordpress.org/webtegrity/) 26 Aprile 2020

Did a full review of this plugin on my YouTube channel. There are several steps 
to getting it securely linked to your Twitter account, but there are step-by-step
instructions on how to do that successfully. Loved it and highly recommend it.

 [ Leggi tutte le recensioni di 6 ](https://wordpress.org/support/plugin/autoshare-for-twitter/reviews/)

## Contributi e sviluppo

“Autopost for X (formerly Autoshare for Twitter)” è un software open source. Le 
persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ 10up ](https://profiles.wordpress.org/10up/)
 *   [ John Watkins ](https://profiles.wordpress.org/johnwatkins0/)
 *   [ Adam Silverstein ](https://profiles.wordpress.org/adamsilverstein/)
 *   [ Scott Lee ](https://profiles.wordpress.org/scottlee/)
 *   [ Tung Du ](https://profiles.wordpress.org/dinhtungdu/)
 *   [ Jeffrey Paul ](https://profiles.wordpress.org/jeffpaul/)
 *   [ Dharmesh Patel ](https://profiles.wordpress.org/dharm1025/)

[Traduci “Autopost for X (formerly Autoshare for Twitter)” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/autoshare-for-twitter)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/autoshare-for-twitter/)
segui il [repository SVN](https://plugins.svn.wordpress.org/autoshare-for-twitter/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/autoshare-for-twitter/)
tramite [RSS](https://plugins.trac.wordpress.org/log/autoshare-for-twitter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.3.4 – 2026-09-01

**Note that this version bumps the WordPress minimum supported version from 6.8 
to 6.9.**

**Added**

 * Notice to readme files regarding X’s removal of free API access (props [@peterwilsoncc](https://github.com/peterwilsoncc),
   [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul)
   via [#426](https://github.com/10up/autoshare-for-twitter/pull/426)).

**Changed**

 * Bump WordPress minimum supported version to 6.9 (props [@phpbits](https://github.com/phpbits),
   [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter),
   [@peterwilsoncc](https://github.com/peterwilsoncc) via [#430](https://github.com/10up/autoshare-for-twitter/pull/430)).
 * Bump WordPress tested-up-to version 7.1 (props [@peterwilsoncc](https://github.com/peterwilsoncc),
   [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul),
   [@phpbits](https://github.com/phpbits), via [#426](https://github.com/10up/autoshare-for-twitter/pull/426),
   [#430](https://github.com/10up/autoshare-for-twitter/pull/430)).

#### 2.3.3 – 2026-02-02

 * **Fixed:** Bug preventing the autosharing of posts from working on scheduled 
   posts (props [@justinmaurerdotdev](https://github.com/justinmaurerdotdev), [@peterwilsoncc](https://github.com/peterwilsoncc),
   [@dkotter](https://github.com/dkotter) via [#399](https://github.com/10up/autoshare-for-twitter/pull/399)).

#### 2.3.2 – 2026-01-29

**Note that this version bumps the WordPress minimum supported version from 6.6 
to 6.8.**

 * **Security:** Fix access control issue for retweeting (props [@nblirwn](https://github.com/nblirwn),
   [@dkotter](https://github.com/dkotter), [@peterwilsoncc](https://github.com/peterwilsoncc),
   [@jeffpaul](https://github.com/jeffpaul) via [GHSA-9j39-fp7c-5453](https://github.com/10up/autoshare-for-twitter/security/advisories/GHSA-9j39-fp7c-5453)).
 * **Added:** Support for the WordPress.org plugin preview (props [@dkotter](https://github.com/dkotter),
   [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul)
   via [#297](https://github.com/10up/autoshare-for-twitter/pull/297)).
 * **Changed:** Bumped WordPress “tested up to” version 6.9 (props [@peterwilsoncc](https://github.com/peterwilsoncc),
   [@dkotter](https://github.com/dkotter) via [#390](https://github.com/10up/autoshare-for-twitter/pull/390)).
 * **Changed:** Bumped WordPress minimum supported version from 6.6 to 6.8 (props
   [@jeffpaul](https://github.com/jeffpaul) via [#397](https://github.com/10up/autoshare-for-twitter/pull/397)).
 * **Changed:** Updated npm dependencies via `npm audit fix` (props [@peterwilsoncc](https://github.com/peterwilsoncc),
   [@dkotter](https://github.com/dkotter) via [#392](https://github.com/10up/autoshare-for-twitter/pull/392)).
 * **Fixed:** Clear tweet text field only after post publish completes in block 
   editor (props [@chandrapatel](https://github.com/chandrapatel), [@iamdharmesh](https://github.com/iamdharmesh)
   via [#378](https://github.com/10up/autoshare-for-twitter/pull/378)).

#### 2.3.1 – 2025-07-14

**Note that this version bumps the WordPress minimum supported version from 6.5 
to 6.6.**

 * **Changed:** Bump WordPress “tested up to” version 6.8 (props [@Sourabh208](https://github.com/Sourabh208),
   [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul)
   via [#367](https://github.com/10up/autoshare-for-twitter/pull/367), [#370](https://github.com/10up/autoshare-for-twitter/pull/370)).
 * **Changed:** Bump WordPress minimum supported version to 6.6 (props [@peterwilsoncc](https://github.com/peterwilsoncc),
   [@Sourabh208](https://github.com/Sourabh208), [@jeffpaul](https://github.com/jeffpaul)
   via [#359](https://github.com/10up/autoshare-for-twitter/pull/359), [#367](https://github.com/10up/autoshare-for-twitter/pull/367),
   [#370](https://github.com/10up/autoshare-for-twitter/pull/370)).
 * **Changed:** Make the API rate limit wording more clear (props [@jeckman](https://github.com/jeckman),
   [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter)
   via [#365](https://github.com/10up/autoshare-for-twitter/pull/365)).
 * **Fixed:** Ensure that no rate limits are shown if the reset time has passed (
   props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter)
   via [#356](https://github.com/10up/autoshare-for-twitter/pull/356)).
 * **Security:** Bump `@wordpress/scripts` from 27.9.0 to 30.10.0 (props [@dependabot](https://github.com/apps/dependabot),
   [@peterwilsoncc](https://github.com/peterwilsoncc) via [#359](https://github.com/10up/autoshare-for-twitter/pull/359)).
 * **Security:** Bump `cookie` from 0.6.0 to 0.7.1, `express` from 4.21.0 to 4.21.2,`
   serialize-javascript` from 6.0.0 to 6.0.2 and `mocha` from 10.2.0 to 11.1.0 (
   props [@dependabot](https://github.com/apps/dependabot), [@iamdharmesh](https://github.com/iamdharmesh)
   via [#361](https://github.com/10up/autoshare-for-twitter/pull/361)).
 * **Security:** Bump `http-proxy-middleware` from 2.0.6 to 2.0.9 (props [@dependabot](https://github.com/apps/dependabot),
   [@iamdharmesh](https://github.com/iamdharmesh) via [#369](https://github.com/10up/autoshare-for-twitter/pull/369)).
 * **Security:** Bump `tar-fs` from 3.0.8 to 3.0.9 (props [@dependabot](https://github.com/apps/dependabot),
   [@dkotter](https://github.com/dkotter) via [#373](https://github.com/10up/autoshare-for-twitter/pull/373)).

Further changelog entries can be found in the [CHANGELOG.md](https://github.com/10up/autoshare-for-twitter/blob/trunk/CHANGELOG.md)
file.

## Plugin della Community

Questo plugin è sviluppato e supportato dalla Community. [Contribuisci a questo plugin](https://github.com/10up/autoshare-for-twitter)

## Meta

 *  Versione **2.3.4**
 *  Ultimo aggiornamento **1 mese fa**
 *  Installazioni attive **5.000+**
 *  Versione WordPress ** 6.9 o superiore **
 *  Testato fino alla versione **7.1.3**
 *  Versione PHP ** 7.4 o superiore **
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/autoshare-for-twitter/)
 * Tag
 * [POSSE](https://it.wordpress.org/plugins/tags/posse/)[share](https://it.wordpress.org/plugins/tags/share/)
   [social media](https://it.wordpress.org/plugins/tags/social-media/)[tweet](https://it.wordpress.org/plugins/tags/tweet/)
   [twitter](https://it.wordpress.org/plugins/tags/twitter/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/autoshare-for-twitter/advanced/)

## Valutazioni

 5 su 5 stelle.

 *  [  6 recensioni a 5-stelle     ](https://wordpress.org/support/plugin/autoshare-for-twitter/reviews/?filter=5)
 *  [  0 recensioni a 4-stelle     ](https://wordpress.org/support/plugin/autoshare-for-twitter/reviews/?filter=4)
 *  [  0 recensioni a 3-stelle     ](https://wordpress.org/support/plugin/autoshare-for-twitter/reviews/?filter=3)
 *  [  0 recensioni a 2-stelle     ](https://wordpress.org/support/plugin/autoshare-for-twitter/reviews/?filter=2)
 *  [  0 recensioni a 1-stelle     ](https://wordpress.org/support/plugin/autoshare-for-twitter/reviews/?filter=1)

[La tua recensione](https://wordpress.org/support/plugin/autoshare-for-twitter/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/autoshare-for-twitter/reviews/)

## Collaboratori

 *   [ 10up ](https://profiles.wordpress.org/10up/)
 *   [ John Watkins ](https://profiles.wordpress.org/johnwatkins0/)
 *   [ Adam Silverstein ](https://profiles.wordpress.org/adamsilverstein/)
 *   [ Scott Lee ](https://profiles.wordpress.org/scottlee/)
 *   [ Tung Du ](https://profiles.wordpress.org/dinhtungdu/)
 *   [ Jeffrey Paul ](https://profiles.wordpress.org/jeffpaul/)
 *   [ Dharmesh Patel ](https://profiles.wordpress.org/dharm1025/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/autoshare-for-twitter/)