0.1.1 • Published 2 years ago
sweg-twitteroauth v0.1.1
Installation
- Composer
composer require swegio/twitteroauth
- npm
npm i sweg-twitteroauth
Quick-Start Guide
- Install
- Create a
config.php
page to store the Twitter OAuth credentials - Use
require
to importconfig.php
(or preferred filename) - Use function
shipit()
intwitteroauth/src/TwitterOAuth.php
to immediately base64 encode and upload media from URL (as opposed to temporarily storing media)
See documentation at https://twitteroauth.com.
PHP versions listed as "active support" or "security fixes only" are supported.