Facebook group auto-posting tool with a Flask web UI and Playwright-based browser automation.
- Post text + images to Facebook groups automatically
- Manage multiple Facebook profiles via cookies
- Fetch joined groups from your Facebook account
- Schedule posts for specific dates/times
- AI-powered content generation (Groq API)
- Real-time log streaming
- Posting history tracking
- Cookie expiry detection & manual login fallback
- Python 3.10+
- Google Chrome
pip install -r requirements.txt
playwright install chromium
cp .env.example .env # Edit .env with your settings
python app.pyOpen http://localhost:5000 in your browser.
Copy .env.example to .env and configure:
| Variable | Description | Default |
|---|---|---|
SECRET_KEY |
Flask session secret | change-this-to-a-random-secret-key |
GROQ_API_KEY |
Groq API key for AI content (optional) | (empty) |
APP_USERNAME |
Login username | Ali-Murtaza |
APP_PASSWORD |
Login password | amj123 |
| Field | Default Value |
|---|---|
| Username | Ali-Murtaza |
| Password | amj123 |
Developed with ❤️ by AMJ
GoShare/
├── app.py # Flask web application
├── scripts/
│ ├── poster.py # Playwright posting logic
│ ├── fetch_groups.py # Group scraping
│ ├── facebook_cookies.py# Cookie validation
│ ├── manual_login.py # Manual login handler
│ └── cookie_utils.py # Cookie format normalization
├── templates/
│ ├── index.html # Login page
│ ├── dash.html # Main dashboard
│ └── pages/ # Sub-pages
├── static/
│ ├── style.css
│ ├── logs/ # Application logs
│ └── profiles/ # Per-profile data (cookies, groups, history)
└── requirements.txt