aka freamon@lemmy.world, freamon@feddit.nl, and any username from lemmon.website

This account is currently parked, and I’m using https://piefed.social/u/andrew_s

  • 3 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: July 17th, 2023

help-circle
  • freamon@endlesstalk.orgtoLemmy@lemmy.mlHow to download account data?
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    8 months ago

    No settings page (as far as I’m aware), but you can use the API to get everything (posts, comments, etc):

    step 1: get login token -

    curl --request POST \
         --url https://lemmy.ml/api/v3/user/login \
         --header 'accept: application/json' \
         --header 'content-type: application/json' \
         --data '
    {
      "username_or_email": "2br02b",
      "password": "YOUR-PASSWORD"
    }
    '
    

    step 2: use login token (big long string starting with ‘ey’) to get data -

    curl --request GET \
         --url 'https://lemmy.ml/api/v3/user?username=2br02b&page=1' \
         --header 'accept: application/json' \
         --header 'authorization: Bearer YOUR-JWT'
    

    Increment page number until you have everything. source: https://lemmy.readme.io/reference/get_user









  • Just to say, I massively prefer the name ‘microblogmemes’ over ‘whitepeopletwitter’. That was always a weird one - posts didn’t always involve white people, didn’t always come from Twitter (which - technically - doesn’t even exist anymore) and seemed based on a petty misunderstanding of what Black People Twitter was.

    FWIW, I agree with you about the Denny’s post. I’m also the moderator of a community that Stamets has quit, so I know that losing him is a blow, because he posts a lot of content. But I also know that he’s a complicated human.