SMM planer
– this code will help you to organize and make post by the date and time in such social
networks and messengers as: Vkontakte
, Odnoklassniki
, Telegram
.
Create and fill in Google Sheets as in an
example.
Python3 have to be already installed. Then use pip (or pip3, there is a contravention with Python2) to install dependencies:
pip install -r requirements.txt
To work with the service you need to configure the interaction with the API Google and social networks:
TELEGRAM_TOKEN=place_your_token_here
TELEGRAM_CHAT_ID=place_your_chat_id_here
VK_ACCESS_TOKEN=place_your_token_here
VK_GROUP_ID=place_your_group_id_here
OK_APPLICATION_KEY=place_your_application_key_here
OK_LONG_ACCESS_TOKEN=place_your_token_here
OK_SECRET_SESSION_KEY=place_your_session_key_here
OK_GROUP_ID=place_your_group_id_here
SERVICE_FILE_SPREADSHEET='place_your_authorize_file.json'
SPREADSHEET_SMM_KEY='place_your_spreadsheet_key'
TIME_INTERVAL=60
- Open the website, `Google Sheets`.
- In the address bar, there will be a link of this type: `https://docs.google.com/spreadsheets/d/1Fc8GpOupbms651ikJo6y0esBFSqlVWCxeTmP-YgO5qs`.
- `1Fc8GpOupbms651ikJo6y0esBFSqlVWCxeTmP-YgO5qs` - this is your `SPREADSHEET_SMM_KEY`
- Follow this link.
python main.py