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!
You need Twitter developers account and Python.
Download this code and run
pip install -r requirements.txt
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 main.py
Python 3.x (x>5) is required.