OldPanda / sync-weibo-2-twitter

Source code for https://old-panda.com/2020/09/20/sync-weibo-to-twitter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sync-weibo-2-twitter

AWS Lambda function code for post https://old-panda.com/2020/09/20/sync-weibo-to-twitter/

Environment Setup

Python 3.8 is required. Rename the file config.json.example to config.json and replace <your-ifttt-key> with your IFTTT key. The "token" field is only to prevent your API being called from malicious sources, so you should put a string ONLY KNOWN TO YOU.

virtualenv venv
source ./venv/bin/activate
pip install -r requirements.txt

Deployment

Rename file deploy.sh.example to deploy.sh and replace <your-function-name> inside file deploy.sh with your function name, then

./deploy.sh

About

Source code for https://old-panda.com/2020/09/20/sync-weibo-to-twitter/

License:MIT License


Languages

Language:Python 100.0%