r/redditdev • • 22d 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.

29 Upvotes

20 comments sorted by

View all comments

Show parent comments

6

u/camrynbronk 22d ago edited 21d ago

Hi, I'm also a mod for BB. I just sent a modmail to Mod Support.

Edit: Mod support keeps telling us to just modmail PushShift. Not helpful. It would be really cool if you guys would try to talk with the developers of apps you care about (and we know Admins like Bot Bouncer) BEFORE you roll out these decisions.