SMM Planer

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.

Setup

Python3 have to be already installed. Then use pip (or pip3, there is a contravention with Python2) to install dependencies:

1. Install requirements

pip install -r requirements.txt

2. Create .env and place your secrets accordingly

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

How to connect Google Sheets

  1. Open the website, `Google Sheets`.
  2. In the address bar, there will be a link of this type: `https://docs.google.com/spreadsheets/d/1Fc8GpOupbms651ikJo6y0esBFSqlVWCxeTmP-YgO5qs`.
  3. `1Fc8GpOupbms651ikJo6y0esBFSqlVWCxeTmP-YgO5qs` - this is your `SPREADSHEET_SMM_KEY`

Receiving keys from Authorizing pygsheets

  1. Follow this link.

3. Run

python main.py