WHAT IS THIS

To run this script, you can get a notion page that has your recent tweets. Set a link of notion page that you want to copy the tweets to and run the script!

HOW TO USE

You need Twitter developers account and Python.

Install

Download this code and run

pip install -r requirements.txt

Set variables

create a new file 'config.py' in the notion_api directory and set these variables in the file properly

TWITTER_ACCESS_TOKEN, TWITTER_ACCESS_SECRET, TWITTER_COMSUMER_KEY, TWITTER_COMSUMER_SECRET, TWITTER_BEARER_TOKEN, NOTION_TOKEN, TWITTER_USERNAME , NOTION_PAGE_URL

Run

run main.py

Environment

Python 3.x (x>5) is required.