http://fdiland2k23drdjqmxgmnjmzb47s3ildy5wyh5t4gk2tgjo3yfdffyyd.onion/kemono/thread/2.html
To save you the hassle of investigating, I can tell you that, as retarded as it sounds, it's impossible to get a tweet out of the image filename, so sadly you can't do something like with Pixiv.
The filename is generated when you upload the pic and it includes a timestamp
(see https://archived.moe/cm/thread/3925527/#3927116) but since you can wait a while before sending a tweet, or even schedule it for later, this timestamp isn't directly related to the tweet id.