PHP code example of gobline / logwriter-twitter
1. Go to this page and download the library: Download gobline/logwriter-twitter library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gobline / logwriter-twitter example snippets
$logger = new Gobline\Logger\Writer\TwitterLogWriter(
$oAuthAccessToken, // your genenated access token
$oAuthAccessTokenSecret, // your genenated access token secret
$consumerKey, // your genenated consumer key
$consumerKeySecret, // your genenated consumer key secret
$receiverScreenName // the user account display name of the receiver
);
$logger->info('hello world');