Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

janboddez/share-on-twitter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Share on Twitter

Automatically share WordPress posts on Twitter. You choose which Post Types are shared. (Sharing can still be disabled on a per-post basis.)

This plugin shares a lot of code with Share on Mastodon and Share on Pixelfed and functions in much the same way.

It does not, however, automatically register itself as a Twitter client when it is first set up: in order to Tweet from your WordPress instance, you will therefore have to sign up as a developer first, and register a new app and an access token and secret with read + write access. This might require you temporarily enable at least OAuth 1.0a (under your app's Settings).

While this is tedious, it's also the only way. Twitter requires client API keys are kept private, which means they can't be shipped as part of an open-source application.

By default, Tweets contain only a title and permalink. And the Featured Image, if applicable. Tweets can, however, be fully customized using the various filter hooks. Automatic tagging, full-text status updates, or entire Tweet threads: everything's possible.

Twitter's v2 API (which anyone has access to right away) is now supported, too. Posting images, however, still uses the older v1.1 API (which now requires "Elevated access"). Luckily, Elevated access isn't all that hard to get. Other than that, both API versions should work just fine.

About

Easily share WordPress posts on Twitter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published