PHP code example of edujugon / social-auto-post
1. Go to this page and download the library: Download edujugon/social-auto-post 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/ */
edujugon / social-auto-post example snippets
object site($socialName)
object params(array $data)
object post()
object/array withFeedback()
object config(array $data)
string getSite()
array getParams()
object/null getFeedback()
array getConfig()
$social = new SocialAutoPost('twitter');
$social->params(['status' => 'My new post #twitter])
->post()
->withFeedback();
$social->getFeedback();