Autoshare for Twitter

Description

Automatically tweets the post title or custom message and a link to the post.

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

Note: Post types are automatically set to autoshare. Future versions of this plugin could allow this to be set manually.

Manual Installation

  1. Upload the entire /autoshare-for-twitter directory to the /wp-content/plugins/ directory.
  2. Activate the plugin
  3. Register post type support for types that should be allowed to autoshare: add_post_type_support( 'post', 'autoshare-for-twitter' );

FAQ

Does this plugin work with Gutenberg?

Yes, yes it does! For more details on this, see #44.

Reviews

April 26, 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.
Read all 1 review

Contributors & Developers

“Autoshare for Twitter” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.4

This was a hotfix update to ensure most users got the correct included libraries. No functionality changes.

1.0.3

  • Added: autoshare_for_twitter_disable_on_transition_post_status filter to disable tweeting based on post status change (props @rickalee)
  • Changed: Bumped WordPress version support to 5.4.2 (props @dinhtungdu, @jeffpaul)
  • Changed: Build, test, and release processes (props @johnwatkins0, @dinhtungdu)
  • **Fixed:*# Enable autoshare meta always set to 0 when saving draft (props @dinhtungdu, @rickalee)

1.0.2

1.0.1

  • Added: autoshare_for_twitter_enabled_default filter to allow autoshare to be enabled by default for a post type (props @johnwatkins0, @rickalee, @dinhtungdu)
  • Changed: bypass character texturization when the post title is tweeted (props @johnwatkins0, @rickalee)
  • Removed: second instance of the autoshare_for_twitter_tweet filter (props @johnwatkins0)

1.0.0

  • Added: Initial public release! 🎉
  • Added: Plugin renamed to “Autoshare for Twitter”
  • Added: Support Post and Page post types by default, provide Custom Post Type (props @johnwatkins0)
  • Added: Gutenberg support (props @johnwatkins0)
  • Added: REST API endpoint to replace AJAX callback (props @johnwatkins0)
  • Added: Build process, PHPCS linting, unit tests, and Travis CI (props @johnwatkins0, @adamsilverstein)
  • Added: Plugin banner and icon images (props Stephanie Campbell)
  • Changed: Refactor v0.1.0 significantly (props @adamsilverstein, @johnwatkins0, @jeffpaul)
  • Security: XSS prevention – switch from .innerHTML to text (props @adamsilverstein)

0.1.0