IG import presents an interesting problem with regards to assigning post ids.
The goal is to backdate ids of imported posts in a way that doesn’t break things.
We can’t backdate posts using snowflake ids because of the epoch, so instead we are using the id key space between auto incremented ids (which is less than 50k on pf.soc) and first snowflake ids.
This will allow for 1m users to import up to 10k posts without affecting existing ids or having to check if they are used. 😎
@dansup Insta has an API that allows such a thing? 😮