diff --git a/Scripts/bluesky-dm-to-telegram.sh b/Scripts/bluesky-dm-to-telegram.sh index 880a273..e85ea52 100644 --- a/Scripts/bluesky-dm-to-telegram.sh +++ b/Scripts/bluesky-dm-to-telegram.sh @@ -23,14 +23,6 @@ create_session() { -d '{"identifier": "'"$BLUESKY_HANDLE"'", "password": "'"$BLUESKY_PASSWORD"'"}' } -# DEBUG: Erstelle Post -create_post() { - curl -X POST $PDSHOST/xrpc/com.atproto.repo.createRecord \ - -H "Authorization: Bearer $ACCESS_JWT" \ - -H "Content-Type: application/json" \ - -d "{\"repo\": \"$BLUESKY_HANDLE\", \"collection\": \"app.bsky.feed.post\", \"record\": {\"text\": \"Hello world! I posted this via the API.\", \"createdAt\": \"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}}" -} - # Hole alle Nachrichten get_messages() { curl -s "https://api.bsky.chat/xrpc/chat.bsky.convo.listConvos?limit=50" \