1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-25 19:31:16 -04:00

new Twitter oEmbed endpoint (shortcode input changes from tweet ID to full URL)

https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-oembed

some hacking is required to continue passing only the tweet ID to <amp-twitter data-tweetid="..."> at the same time. ugh.

https://amp.dev/documentation/components/amp-twitter/#attributes
This commit is contained in:
2020-06-28 11:29:35 -04:00
parent 3bfa8a52cc
commit 99d13da0c7
7 changed files with 15 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ A [recent post on Hacker News](https://news.ycombinator.com/item?id=19828317) po
In other words, Archive.is's nameservers throw a hissy fit and return a bogus IP when Cloudflare **doesn't** leak your geolocation info to them via the optional [EDNS client subnet feature](https://tools.ietf.org/html/rfc7871). The owner of Archive.is has plainly admitted this with [a questionable claim](https://twitter.com/archiveis/status/1018691421182791680) (in my opinion) about the lack of EDNS information causing him "so many troubles."
{{< tweet 1018691421182791680 >}}
{{< tweet "https://twitter.com/archiveis/status/1018691421182791680" >}}
He's even gone as far as [replying to support requests](https://community.cloudflare.com/t/archive-is-error-1001/18227/7) by telling people to switch to Google's DNS, which — surprise! — offers your location to nameservers [with pleasure](https://developers.google.com/speed/public-dns/docs/ecs).