chalk bones is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
chalk bones @tomharris

downloaded all my toots with : gonna train a neural net on myself and recursively self-improve until I get the perfect toot

· Web · 14 · 20

@tomharris

BUT THEN

when you DO have it

it's THIS TOOT EXACTLY

*Twilight Zone music*

TOM STARES IN SHOCK AS OTHERS GASP AT THEIR RESPECTIVE COMPUTERS.

Rod Serling: Another sunset on another world, one we made with our own tools -- yet still, somehow, part of the Twilight Zone.

[END CREDITS]

@sydneyfalk this toot is doing much better numbers than almost all my other toots actually, it could be the one!!

@tomharris

O_O OH SHIT

SYDNEY BACKS AWAY FROM HER COMPUTER, COVERING HER MOUTH, QUIVERING, UNTIL FINALLY SHE BEGINS TO SCREAM.

*Twilight Zone music*

Rod Serling: A storyteller surfing from fiction to fiction, only to find that the beach she finally lands upon -- is in the Twilight Zone.

[END CREDITS]

@tomharris

WE SEE GARGRON HARD AT WORK AT HIS OWN COMPUTER, ONLY TO FLINCH, AND TURN AROUND, STARING INTO THE CAMERA.

GARGRON: Wait. What --

*Twilight Zone music*

GARGRON: Oh, for fuck's sake.

Rod Serling: The man behind the curtain, pulling levers and plugging in wires, hoping for a better outcome, a better world. His hopes may still lead there -- but they have undoubtedly crossed over, for now, into -- the Twilight Zone.

[END CREDITS]

@tomharris I've been wondering about a way to backup/export my toots. How does that thing work?

@ultimape @tomharris
Haven't tried it yet, but on the Mastodon API, under Accounts [0], getting an account's statuses is supported via

GET /api/v1/accounts/:id/statuses

I don't know if there's an automated way to do that though.

[0] github.com/tootsuite/documenta

@Pabo @ultimape

I used the python wrapper for the api here: mastodonpy.readthedocs.io/en/s
First I created an API instance according to the example there, then I just repeatedly called the Mastodon.account_statuses method with successively lower max_id, adding any new toots to a dict (of the form {toot_id : toot_text}) as I went. Then I wrote the toots to a file.

There's probably a better way to do it, but this naive method worked for me.