12joan / twitter-client

A temporary Twitter client for fetching recent tweets for use while Twitter is closed to guest users
The Unlicense
26 stars 5 forks source link

Add a web view that outputs HTML #8

Open 12joan opened 1 year ago

12joan commented 1 year ago

Suggested route: /:username/web, if/when individual Tweets are supported: :username/status/:tweet/web

aki-k commented 1 year ago

I can get a Tweet ID from the JSON data. It's the id_str value on the same level than full_text.

I can then read the actual Tweet by using this userscript

https://greasyfork.org/en/scripts/469910-twitter-com-to-embed

and load https://www.twitter.com/username/status/id_str in Firefox where I have installed Tampermonkey extension in which I have installed the twitter-com-to-embed user script.

I hope somebody's able to create some kind of bare Twitter UI with this information.

12joan commented 1 year ago

If someone else can scaffold the HTML and get all the data loaded in, I can handle the styling and UI side of things