Negative12DollarBill on Nostr: I asked the other day how to auto-follow everyone who follows you on #Mastodon, so ...
I asked the other day how to auto-follow everyone who follows you on #Mastodon, so here you go, this works.
First you need to create an app which has access to your account (you do that at <your instance>/settings/applications) then you'll have a token.
Then this #Python script should do it:
#programming #software #dev
Published at
2024-11-17 01:12:31Event JSON
{
"id": "d76e7a319242aed7170642ae584fb9580cadf767c2c90cad1003584cfffc8cc1",
"pubkey": "2b35a8e5960ab500dcddea0e778b3202bc929c4ea62970424fb7974c63d5b2a5",
"created_at": 1731805951,
"kind": 1,
"tags": [
[
"t",
"Mastodon"
],
[
"t",
"python"
],
[
"t",
"programming"
],
[
"t",
"software"
],
[
"t",
"dev"
],
[
"imeta",
"url https://files.techhub.social/media_attachments/files/113/495/620/521/714/732/original/b16cc9cf73004665.png",
"m image/png",
"dim 585x285",
"blurhash U6Rp2q02T1k?DhNyRlV_tkR-Myf9.9V[WBf+"
],
[
"proxy",
"https://techhub.social/users/negative12dollarbill/statuses/113495634805712925",
"activitypub"
]
],
"content": "I asked the other day how to auto-follow everyone who follows you on #Mastodon, so here you go, this works.\n\nFirst you need to create an app which has access to your account (you do that at \u003cyour instance\u003e/settings/applications) then you'll have a token.\n\nThen this #Python script should do it:\n\n#programming #software #dev\n\nhttps://files.techhub.social/media_attachments/files/113/495/620/521/714/732/original/b16cc9cf73004665.png",
"sig": "78f542f93bb9792177430f66db7f0efcee09806ef70dfe5eb53ee9f6233bae3495a68a1d01c18f9af8817afefc05479fb34d6a947fd8925ce8cce032f138301b"
}