Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different undocumented blog identifier format #126

Open
mdashlw opened this issue Mar 24, 2024 · 4 comments
Open

Different undocumented blog identifier format #126

mdashlw opened this issue Mar 24, 2024 · 4 comments

Comments

@mdashlw
Copy link

mdashlw commented Mar 24, 2024

Blog https://www.tumblr.com/rarijackdaily has name of rarijackdaily, uuid of t:r41U3WbkgPsyci1uQtKqfw, and a different identifier of z-9h8LWr1Kv4VZVwZ_KZkw
await tumblr.apiFetch('/v2/blog/(blogIdentifier)/posts/114205831908/permalink') supports all three. However, I could not find any information on the format of z-9h8LWr1Kv4VZVwZ_KZkw.
I found it on https://rarijackdaily.tumblr.com/post/114205831908/spring-3/embed

@marcustyphoon
Copy link
Contributor

Ooh, neat! I'd heard whispers of another blog identifier but my understanding is that it's intentionally not documented or used when possible (probably for reasons like "doesn't stay the same if you change your blog name," if I had to guess).

@cyle
Copy link
Member

cyle commented Mar 25, 2024

Yes, there is a third unique public blog identifier, which is still around for some legacy purposes. It's not as reliable or used as widely as the proper blog UUID (the one prefixed with t:), so we don't document it, because we don't recommend relying on it.

@mdashlw
Copy link
Author

mdashlw commented Apr 8, 2024

Yes, there is a third unique public blog identifier, which is still around for some legacy purposes. It's not as reliable or used as widely as the proper blog UUID (the one prefixed with t:), so we don't document it, because we don't recommend relying on it.

I see. Also, what is the format of blog uuids? As far as I can tell, it's not a real uuid

@cyle
Copy link
Member

cyle commented Apr 8, 2024

Also, what is the format of blog uuids? As far as I can tell, it's not a real uuid

well, it's a "real" UUID in the sense that it's universally unique on Tumblr. it's not a UUID by any of the other standard variants, no. we opted to do something much shorter than the typical UUID v4, for example, because we just didn't need it to be that big.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants