Luca Hammer EN

Scientific programmer @sfb1472 at University of Siegen. Neurodivergent.

Helped thousands of people migrate their social graph to the Fediverse with #fedifinder.

This account focuses on my work and projects. For everything else, follow @luca.

#SocialMedia #Python #Gephi #Data #MediaStudies

#fedi22

Luca Hammer EN boosted:
2024-12-03

Hopefully the last feature update for #TweetXer: Deleting DMs.

Files you can use from the Twitter data export:
- tweet-headers.js to delete Tweets (20k/h)
- direct-message-headers.js AND group-headers.js to remove DMs (3k/h)
- like.js to remove Favs (don't even bother; it doesn't work well)

Buttons you can press to make the scrip press buttons for you:
- Unfollow everyone (make number go down)
- Export bookmarks (not included in the data export)
- Slow delete without file (cleanup missed Tweets or if you can't get the archive)

github.com/lucahammer/tweetXer

Browser screenshot of x.com with blue TweetXer bar and open browser console.

TweetXer: Deleting 1984 DM Conversations

1603 deleted. 2706771-11985982

Advanced Options
Enter how many Tweets to skip before selecting a file.

Supported files:

    tweet-headers.js to delete Tweets (10.000 - 20.000 per hour)
    direct-message-header.js and direct-message-group-headers.js to delete DMs (around 800 per 15 minutes)
    like.js to delete Favs (500 per 15 minutes; only works for the most recent few thousands)

Export bookmarks
Bookmarks are not included in the official data export. You can export them here.
No tweet-headers.js?
If you are unable to get your data export, you can use the following option.
This option is much slower and less reliable. It can remove at most 4000 Tweets per hour.
Unfollow everyone
It's time to let go. This will unfollow everyone you follow.

Remove TweetXer

Browser console:
// ==UserScript==
// @name         TweetXer
// @namespace    https://github.com/lucahammer/tweetXer/
// @version      0.9.1
// @description  Delete all your Tweets for free.…
undefined
259 Tweets on profile.
You can close the console now to reduce the memory usage. debugger 
Reopen the console if there are issues to see if an error shows up. 
File contains Direct Messages.
Skipping 1000 messages/convos
Luca Hammer ENLuca@vis.social
2024-12-01

@cliodunn Tweetxer only uses the IDs of the Tweets to create the delete requests and send them to X. It does not change the local file.

Luca Hammer ENLuca@vis.social
2024-11-21

@cliodunn @cdarwin It doesn't delete the things in the local archive, but sends delete requests for every tweet in the archive. Same as if you did it by hand on the website.

You don't need to unzip the whole archive, only the tweet-headers.js file, which should be a few MBs.

Luca Hammer EN boosted:
2024-11-21

È giunto il momento.

Ho scaricato tutti i miei dati da Twitter e in questo momento uno script sta eliminando tutti i miei 14 anni di tweet.

Addio Twitter, vaffanculo Musk 😢

Homepage di Twitter sul profilo di @peppeuz; in alto, una barra di progresso azzurra indica che finora sono stati eliminati 1980 tweet.
Luca Hammer EN boosted:
2024-11-18

TweetXer can auto unfollow accounts since friday. Worked well with a few hundred accounts, not sure if it works with more. Feel free to test.

github.com/lucahammer/tweetXer

Screenshot TweetXer

Select your tweet-headers.js from your Twitter Data Export to start the deletion of all your Tweets.

Advanced Options
Enter how many Tweets to skip (useful for reruns) before selecting a file.

To delete your Favs (aka Likes), select your like.js file.

Instead of your tweet-headers.js file, you can use the tweets.js file. Unfaving is limited to 500 unfavs per 15 minutes.
No tweet-headers.js?
If you are unable to get your data export, you can use the following option.
This option is much slower and less reliable. It can remove at most 4000 Tweets per hour.
Unfollow everyone
It's time to let go. This will unfollow everyone you follow.
Luca Hammer ENLuca@vis.social
2024-11-18
Luca Hammer ENLuca@vis.social
2024-11-14

@SandraSchink Hier gibt es das Script und Anleitung zum Löschen: github.com/lucahammer/tweetXer

Und hier das Videotutorial: youtu.be/HmQ7_ZgVNxg

Luca Hammer ENLuca@vis.social
2024-11-14

@SandraSchink Ja, funktioniert weiterhin. Am besten mit Firefox

Luca Hammer EN boosted:
Luca Hammer (Blog)luca@lucahammer.com
2024-04-26

With version 4.2.0 Mastodon added full text search. People asked for a better guide, so I am trying to create one. If I missed something or there is a mistake, please let me know in the comments. You can write a comment by replying to this post in the Fediverse, simply copy the URL, search for it in your Fediverse-client and reply to it.

Limitations of Mastodon search

Because the Fediverse is distributed, there is no way to search through all posts. You can only search through posts that are known to the instance that you are using. That are posts from accounts on the same instance, the posts reposted by accounts on your instance and posts from accounts that are followed by at least one account of your instance.

While there is the saying that elephants don’t forget anything, Mastodon software is intentionally forgetful. By default it forgets (removes from it’s database) posts from other servers that are older than 7 days. That means that you can probably only find posts from other instances from within the last 7 days. Correction: The Mastodon setting for removing posts from other instances is turned off by default. It depends on the setting of your instance how far back you can find posts from other instances.

Finally, you can find only posts that are public and from an account that set their posts to be searchable. The default of the default setting is set for posts to not be searchable. Admins can change the default for the default and users can override it either way.

Exception: You can always search through your own posts, posts that mention you and posts you faved.

Mastodon Search Operators

Post content
wordA wordB By default Mastodon will look for all words that you entered (separated by a space) in any order anywhere in the post.
“wordA wordB” With quotation marks, you will only get results that contain those words in that order without any words between them. They may be separated by multiple spaces, line breaks or even special characters.

User
from:username shows you posts from the user with the username username. For people from other instances, you have to use the full username. Eg: from:luca@social.luca.run
from:me yields posts from yourself.

Time
before:2024-04-25 shows posts that were before 25th of April 2024. Without posts posted on 2024-04-25.
after:2024-04-25 shows posts that were posted after 25th of April 2024. With posts posted on 2024-04-25.
during:2024-04-25 shows posts that were posted on 25th of April 2024. Short form for after:2024-04-25 before:2024-04-26

All three operators use your local timezone not UTC like it was on Twitter. I am not aware of an option to narrow search down to hours or minutes.

Language
language:en finds posts in English. language:de German posts. You can use all ISO-639-1 language codes and a few ISO-639-3 ones.

Type
is:reply to only get replies.
is:sensitive to only get posts with a content notice.

Features
has:media for posts with attached images or videos.
has:image for posts with attached images.
has:video for posts with attached videos.
has:link for posts with URLs.
has:poll for posts with polls.
has:embed for posts with embeds. Not previews, actual embeds like a video that you can watch without leaving your client.

Index
in:library Your own posts, posts that mention you and your favs.
in:public Public, searchable posts known to your server.
in:all Combines both options and is the default. You don’t need to use this explicitly.

Exclude
You can exclude a searchterm -wordA or any of the other operators -is:reply. There is + as well, but because the default behaviour is to combine the operators, you don’t need that.

Source: Testing and Mastodon source code.

Combining operators/filters

You can combine multiple operators to narrow down your results. Mastodon will only show posts that match all operators. I am not aware of an option to search for posts that match either one operator or another one.

Funfacts/quirks

is: and has: are treated the same way. As a result you can either search for has:image or is:image and get the same results. In the case of replies, this is misleading. has:reply does not find posts that have replies, but posts that are replies.

https://lucahammer.com/2024/04/25/mastodon-advanced-search-guide-and-operators

#Fediverse #Mastodon

Luca Hammer EN boosted:
2023-10-18

@yvg Please use fedifinder-backup.glitch.me until I am able to fix it. #fedifinder

Luca Hammer EN boosted:
2023-10-05

Marina @afelia Weisband wuchs in Wuppertal(!) auf und in diesem Podcast erfahrt ihr, warum noch nicht alles verloren ist.
🎙️ politische-runde.de/2023/09/un

*schreibt jetzt Briefe

Luca Hammer ENLuca@vis.social
2023-10-04

@meikerenschbergner @hdrmeurer Wenn du den Account löschst, sind die Tweets auch weg. Ich halte es nicht für notwendig erst die Tweets und dann den Account zu löschen.

Tweets löschen ist notwendig, wenn man den Account noch behalten möchte, aber eben nicht mehr die Inhalte dort haben will.

Luca Hammer ENLuca@vis.social
2023-10-03

@mytwobits01 That error happens so early that I assume something went wrong with copying.

Can you try this version? gist.githubusercontent.com/luc

Luca Hammer ENLuca@vis.social
2023-10-03

@mytwobits01 Which version? Can you copy or screenshot the whole error message?

Luca Hammer ENLuca@vis.social
2023-08-18

@schreiblehrling @jawl Was sind "solche Seiten"?

(Chefredakteur war zuvor Chefredakteur bei Spiegel Online. T-Online hat um die 80 Redakteur*innen. Etwa halb so viele wie Spiegel Online vor der Fusion mit Spiegel.)

Luca Hammer ENLuca@vis.social
2023-07-31

@Mareike2405 @spinfocl Ja, funktioniert noch. Ich weiß aber selbst nicht warum. Es wurde nur ein Teil meiner Apps abgeschalten. Einmal wurden Einstellungen zurückgesetzt, sodass es zwischendurch nicht funktioniert hat. Ich warte jeden Tag darauf, dass es endgültig vorbei ist.

Luca Hammer EN boosted:
FediTips has moved!feditips@mstdn.social
2023-07-24

If you want to find your Twitter friends on Mastodon and the Fediverse, there's a tool that can help you do that:

➡️ fedifinder.glitch.me

FediFinder was created by @luca

(If you're wondering why it asks for authorisation, it's explained at social.luca.run/@luca/11076887)

#FediTips #Twitter #Fediverse #Mastodon

Luca Hammer EN boosted:
2023-07-24

"Your X/Twitter contacts are on these instances." fedifinder.glitch.me/ #fedifinder #update #xTwitter #TwitterX #Twitter #branding

Fedifinder Join the Fediverse in 5 easy steps.
1. Find an instance

Button with Twitter bird: Authorize X/Twitter
to see on which instances your X/Twitter contacts are.
Luca Hammer EN boosted:
2023-07-05

Just in case anyone is lonely and needs to find their Twitter friends #OnHere , #Fedifinder is up and running again!

#TwitterMigration

fedifinder.glitch.me/

Luca Hammer ENLuca@vis.social
2023-07-05

@forteller Should be fixed now.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst