selfoss
selfoss copied to clipboard
Investigate Twitter API v2
https://blog.twitter.com/developer/en_us/topics/tools/2020/introducing_new_twitter_api.html
It is still early access at the moment. I have filed a registration for future experiments.
It is paid and looks like v1.1 is set to become paid as well: https://twitter.com/TwitterDev/status/1621026986784337922
Apparently, it is possible to use keys from the mobile/web app like Nitter does.
https://developer.twitter.com/en/docs/twitter-api/migrate/twitter-api-endpoint-map
- hometimelne: https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/0d1587147d3bf8338b5fea2b4e5bb56d37f5c2b6/Reverse-Chron-Home-Timeline/OAuth1a-user/reverse-chron-home-timeline.py
- usertimeline: https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/main/User-Tweet-Timeline/user_tweets.py
- Search: https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/main/Recent-Search/recent_search.py
- list: https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/0d1587147d3bf8338b5fea2b4e5bb56d37f5c2b6/List-lookup/List-Tweets-lookup/List-Tweets.py