Email or username:

Password:

Forgot your password?
Top-level
Alwyn Soh :pride_flag:

@tokyo_0 when you’re performing such imports, it’s entering data directly to the DB. Any incorrect could possibly corrupt the DB.

3 comments
Tokyo Outsider (337ppm)

@alwynispat The tool I wrote uses the Mastodon API (created and maintained by the Mastodon developers) — it's the same mechanism used by clients like apps on people's phones.

But yes, anything that touches data does have some potential to disrupt it. Circumventing the API to manipulate the database directly would definitely be a worrying idea.

Alwyn Soh :pride_flag:

@tokyo_0 ah since it’s use api, then the post date will be latest instead of being backdated. Ok then, shouldn’t be much of an issue.
Users could essentially run the import themselves.

Tokyo Outsider (337ppm)

@alwynispat Yes, that's exactly it. If Mastodon added the same functionality into the core system, they may be able to preserve the date — it would be the developers themselves coding that, and presumably they will be able to make safe changes to any code that touches the database (especially given that it wouldn't involve any changes to the database structure). But the tool I wrote only uses the standard API and reposted posts are essentially new posts, with new dates.

Go Up