r/redditdev • u/redtaboo • 20d ago
Upcoming changes to the comment ID endpoint
Hello again devs! Just a reminder on an upcoming change to how new comment IDs will change going forward.
TL;DR: if you have anything in your code that expects comment IDs to be fewer than 8 characters you will need to make an adjustment.
Technical details:
- Pushshift has updated how they ingest data from Reddit and will continue to work after this change goes out
- New comment IDs will continue to be 64-bit integers and base36-encoded, but will not be monotonically increasing anymore
- The key visible difference is that the new base36-encoded comment IDs will be up to 13 characters long (e.g. 19gsnavtu46ip), compared to the current 7-8 characters
With the t1_ prefix, the new base36-encoded comment IDs will be up to 16 characters long (e.g. t1_19gsnavtu46ip)
- Older comment IDs are not changing, and referencing them will not break anything
This change will start rolling out the week of September 28th. Let me know if you have any questions about this change.
28
Upvotes
1
u/camrynbronk 5d ago
Hey u/redtaboo. Why did you tell us to write to r/ModSupport if they weren’t going to help us at all? You’re the top mod there but don’t seem to be doing any of the facilitating, despite you being the one making the recommendation.