A tool that helps to publish posts to different social networks (Facebook, VK.com)
It gets information from a single resource (e.g. an RSS feed) and publishes it to one or more social networks
This tool is written in PHP, you need installed PHP and Composer (https://getcomposer.org/) By the way, you can use Docker, follow the instructions below.
git clone git@github.com:jekill/sm-publisher.git
cd sm-publisher
composer install
cp ./config/config.example.php ./config/config.php
Edit config/config.php file
<?php
return [
'vk' => [
'owner_id' => '',
'group_id' => '',
'token' => ''
],
'fb'=>[
'app_id' => '',
'app_secret' => '',
'page_id' => '',
'page_access_token' => '',
]
];
php ./bin/publisher.php publish Rss https://your-site.com/rss-feed.xml
docker build -t sm-publisher .
docker run -it --volume $PWD:/app sm-publisher /composer/composer install
docker run -it --volume $PWD:/app sm-publisher php ./bin/publisher.php publish Rss https://your-site.com/rss-feed.xml