Files
TG_autoposter/AUTH_INSTRUCTIONS.txt
Andrew K. Choi e57ca0b36e Add simplified UserBot authorization script and quick guide
NEW FILES:
 authorize_userbot_simple.sh - Simple one-command authorization
 QUICK_AUTH_GUIDE.md - Quick authorization reference
 AUTH_INSTRUCTIONS.txt - Pre-authorization instructions

IMPROVEMENTS:
 Simpler, more user-friendly authorization process
 Direct Python-based authentication (no bash complexity)
 Clear prompts and status messages
 Better error handling
 Works with interactive terminal (docker-compose exec -it)

USAGE:
  ./authorize_userbot_simple.sh
  [Wait for SMS]
  [Enter code when prompted]

This provides two options:
1. Simple mode: ./authorize_userbot_simple.sh
2. Original mode: ./init_telethon_session.sh

Both do the same thing, simple mode is more straightforward for users.
2025-12-21 12:18:05 +09:00

29 lines
789 B
Bash

#!/bin/bash
# Quick Authorization Guide
echo "🔐 TELETHON USERBOT AUTHORIZATION"
echo "=================================="
echo ""
echo "⏳ WAITING FOR SMS CODE..."
echo ""
echo "You should receive a text message to: +821056936103"
echo ""
echo "When you get the SMS:"
echo "1. Read the code from the message"
echo "2. Type it and press ENTER"
echo ""
echo "If 2FA is enabled:"
echo "3. Enter your 2FA password when prompted"
echo ""
echo "Then the script will:"
echo "✅ Save your session"
echo "✅ Restart the UserBot"
echo "✅ Display success message"
echo ""
echo "⏱️ Total time: 3-5 minutes (mostly waiting for SMS)"
echo ""
echo "=================================="
echo "Ready? Just look for the SMS code prompt below:"
echo "=================================="
echo ""