selfoss icon indicating copy to clipboard operation
selfoss copied to clipboard

Investigate Twitter API v2

Open jtojnar opened this issue 3 years ago • 3 comments

https://blog.twitter.com/developer/en_us/topics/tools/2020/introducing_new_twitter_api.html

jtojnar avatar Oct 19 '20 15:10 jtojnar

It is still early access at the moment. I have filed a registration for future experiments.

jtojnar avatar Jan 17 '21 15:01 jtojnar

It is paid and looks like v1.1 is set to become paid as well: https://twitter.com/TwitterDev/status/1621026986784337922

jtojnar avatar Feb 02 '23 11:02 jtojnar

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

jtojnar avatar Apr 15 '23 01:04 jtojnar