Vitor Pamplona on Nostr: Amethyst doesn't show Twitter preview cards because Twitter requires a full-fat ...
Amethyst doesn't show Twitter preview cards because Twitter requires a full-fat JavaScript browser to get the OpenGraph tags from their HTML. Not even simplified JavaScript libraries work.
The app has to open the cited URL, run all JavaScripts in there and get the second URL to know what the link is about.
It adds risk, processing time, and increases the app size.
Let me know if you all want this, but my opinion is that we should not render Twitter cards until they add their OpenGraph tags to their first HTML result.
This is not hard.
Published at
2023-03-05 17:01:20Event JSON
{
"id": "ab91bdbfb7cca0687f33295178ea846dec7cdeae0eea000eaeae06e99934f865",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1678035680,
"kind": 1,
"tags": [],
"content": "Amethyst doesn't show Twitter preview cards because Twitter requires a full-fat JavaScript browser to get the OpenGraph tags from their HTML. Not even simplified JavaScript libraries work. \n\nThe app has to open the cited URL, run all JavaScripts in there and get the second URL to know what the link is about. \n\nIt adds risk, processing time, and increases the app size. \n\nLet me know if you all want this, but my opinion is that we should not render Twitter cards until they add their OpenGraph tags to their first HTML result. \n\nThis is not hard. ",
"sig": "370b2f63ebf93d267d5384393d7880279da5cdac060595fca7644c0a1ed6ab223e8daf565eea225791edfff54bee2c3f45f6d6f99c95aa8c8c71e40d28c1d769"
}