From c93b345ddb23588d65b1d954aa129891995d5ac5 Mon Sep 17 00:00:00 2001 From: simonpipe Date: Tue, 12 Aug 2025 15:50:56 +0200 Subject: [PATCH] help-gotoso-en.md aktualisiert --- help-gotoso-en.md | 71 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/help-gotoso-en.md b/help-gotoso-en.md index e69de29..60354f4 100644 --- a/help-gotoso-en.md +++ b/help-gotoso-en.md @@ -0,0 +1,71 @@ +# Help for GoToSocial + +## Find your Account ID +1. Open your profile (`https://YOUR_INSTANCE_URL/@YOUR_USERNAME`) +2. View the page source and search for this line in the `` section: `` Bereich: + ```html + + ``` +4. Deine **Account-ID** steht zwischen `fileserver` und `attachment`. + Beispiel: `.../fileserver/1234567890abcdef/attachment/...` +5. Trage die Account-ID in Yellow in der `yellow-system.ini` unter + `MastodonapiAccountId` ein. + +## 2. Token erstellen + +1. Melde dich in deiner GoToSocial-Instanz an: + `https://DEINE_INSTANZ_URL/settings` +2. Gehe zu **Applications** → **New Application**. +3. Trage unter *Application name (required)* z. B. `yellow-mastodonapi` ein. + (Alle anderen Felder können leer bleiben.) + Klicke auf **Create**. +4. Öffne die soeben erstellte Application, um die **Client-Details** zu sehen. +5. Ersetze in diesem Link die Platzhalter und öffne ihn im Browser: + ``` + https://DEINE_INSTANZ_URL/oauth/authorize?response_type=code&client_id=DEIN_CLIENT_ID&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=read + ``` + → Anmelden, bestätigen und den **Code** kopieren. +6. Ersetze in diesem `curl`-Befehl die Platzhalter: + ```bash + curl -X POST https://DEINE_INSTANZ_URL/oauth/token + -d "client_id=DEIN_CLIENT_ID" + -d "client_secret=DEIN_CLIENT_SECRET" + -d "grant_type=authorization_code" + -d "code=DER_CODE_AUS_SCHRITT_5" + -d "redirect_uri=urn:ietf:wg:oauth:2.0:oob" + ``` +7. Führe den Befehl im **Terminal** aus. + → Du erhältst dein **User-Token**. +8. Trage den Token in Yellow in der `yellow-system.ini` unter + `MastodonapiAccessToken` ein. \ No newline at end of file