Open JanMisker opened 6 months ago
Maybe the oembed API can be utilized? https://developer.x.com/en/docs/twitter-for-websites/oembed-api
It's already using it.
Screenshot from my local:
Ah of course. Sorry I didn't do much digging yet.
But still, the data collecting fails, I think because first there is an attempt to load the actual url, and only after that the oembed is fetched.
I suspect there is a migration happening over at Twitter, all URLs seem to redirect to x.com. But I also see a form like this as the final destination of the redirects, not sure what that is about.
I put some debug code somewhere to see the response body.
If I submit the form I just end up at x.com...
Posting here in case others find the same issue, maybe we figure it out or maybe it again changes along the way.