2

How can I easily load the very first toot of a given user on mastodon?

I'm trying to figure out when a given mastodon account was first created. I'm scrolling down in their feed, but I think it will take about 350 years for me to reach their first toot by just scrolling on Mastodon's WUI.

Is there an easy (less than 10 clicks) way to just jump to their very first tweet?

1 Answer 1

3

I do not believe that there is an easy way to achieve this via the Web UI.

To find out when an account was created, you can use the Mastodon API. Under Preferences -> Development on your Mastodon account, create a new app with read permissions to get a token. Then you can call the API, for example something like this:

curl --header "Authorization: Bearer $TOKEN" https://[YOURINSTANCE]/api/v1/accounts/search\?q\=[ACCOUNTNAME]\&limit\=1 | jq

This will return the user object, containing a created_at value.

To get the first toot, you could use the API to fetch all of the posts back to the very first one.

3
  • Can you provide in your answer how to get the $TOKEN value for the Authorization header? Feb 12 at 12:08
  • 1
    Sure thing. Editing that.
    – Andy Piper
    Feb 12 at 20:54
  • I wonder if there might be nontech-savvy users on Mastodon that have no idea about how to use a command-line 🤔 Feb 13 at 10:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.