HI! I'll help you make a telegram bot for ProfitSocial and iMonetizeIt.
This bot:
- Donwload .csv statistic for today/yesterday
- Upload stat on Zoho sheets
- Drop link in chat (today/yesterday - every 30 min)
How install:
- You need account on heroku.com
- Create Telegram bot in @BotFather and copy API key
- Add @RawDataBot to your chat and copy chat_id
- Click "Deploy to heroku" button on top and create new app (add name, choose region)
- Go to "Setting" your app and click "Reveal Config Vars", then add variables:
PROFIT_LOGIN = ProfitSocial authorization mail
PROFIT_PASSWORD = ProfitSocial authorization password
IMON_LOGIN = imonetizeit authorization mail
IMON_PASSWORD = imonetizeit authorization password
TG_TOKEN = api token your telegram bot
CHAT_ID = chat id in telegram, where bot will drop lins
LANGUAGE_MSG = language messages (RU or EN(default))
TZ = your Time Zone, example: Europe/Moscow (view all zones https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) - Choose "Resourses" tab, then OFF "web" switcher and ON all "worker" (logs in "More" > "View logs")
- Add your bot in TG chat
WELL DONE!