This script can be used to sync Mastodon toots to Twitter. It uses the TwitterOAuth library to access the official Twitter API.
- Log in to twitter.com and visit developer.twitter.com/en/apps.
- Click on
Create New Appand enter the requested, mandatory information, agree to the Twitter Developer Agreement and click on
Create your Twitter application.
- Visit the
Keys and tokenstab and note the
API secret keyvalues in the
Consumer API keyssection for the configuration of this script.
- Scroll down to the
Access token & access token secretsection and click on
Create. Note the
Access token secretvalues for the configuration of this script.
- Clone the required library
git clone https://github.com/yahesh/unchroot.
- Enter the folder in which you downloaded this script with a command shell and execute
composer require abraham/twitteroauthto install the TwitterOAuth library.
config.phpand configure the script.
This application is released under the MIT license. See the LICENSE file for further information.
Copyright (c) 2019, Yahe
All rights reserved.