Click on Create New App and enter the requested, mandatory information, agree to the Twitter Developer Agreement and click on Create your Twitter application.
Visit the Keys and tokens tab and note the API key and API secret key values in the Consumer API keys section for the configuration of this script.
Scroll down to the Access token & access token secret section and click on Create. Note the Access token and Access token secret values 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/twitteroauth to install the TwitterOAuth library.
Copy config.php.default to config.php and configure the script.
Usage
./twastosync.php
License
This application is released under the MIT license.
See the LICENSE file for further information.
请发表评论