How to setup command and control server

How to setup command and control server ?? thanks in advance.

There are some scripts which tell S how to use social media platform as command and control servers. Check Github