- Add /api/posts/{id}/publish endpoint for API-based publishing
- Add /api/posts/{id}/mark-published endpoint for manual workflow
- Add content length validation before publishing
- Update modal with "Ya lo publiqué" and "Publicar (API)" buttons
- Fix retry_count handling for None values
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add generate_threads_manual_posts() task that creates 2 posts daily
- Posts are saved with status 'draft' for manual copy/paste to Threads
- Uses tip_tech template with rotating categories (productividad, ia, etc.)
- Scheduled to run daily at 7:00 AM (Tijuana timezone)
- Posts appear in dashboard for easy access
This is a workaround while waiting for Threads API approval.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add get_followers() method to X publisher
- Track new followers as "follow" interaction type
- Update daily reports to show followers separately
- Store follower name, username, bio, and profile image
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Morning report (8:00 AM): scheduled posts for today + new interactions
- Afternoon report (6:00 PM): published count + pending interactions
- Reports are sent via Telegram with formatted summaries
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add processed_ids set to prevent duplicate inserts when a tweet is
both a mention and a comment (same external_id)
- Enhance get_mentions() to fetch usernames via user expansions
- Update fetch_interactions to prefer username over numeric author_id
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add "Publicaciones Recientes" section to dashboard showing published posts
- Filter out self-generated interactions in X API (thread auto-replies)
- Improve username resolution for X interactions using user expansions
- Pass recent_published data to dashboard template
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Generate 24 posts for February: 12 tips, 4 threads, 8 promotional
- Schedule automatic publication at optimal times
- Update publish_to_platform to handle hilo_educativo as threads
- Parse JSON thread posts and publish using publish_thread()
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Estructura completa del proyecto con FastAPI
- Modelos de base de datos (productos, servicios, posts, calendario, interacciones)
- Publishers para X, Threads, Instagram, Facebook
- Generador de contenido con DeepSeek API
- Worker de Celery con tareas programadas
- Dashboard básico con templates HTML
- Docker Compose para despliegue
- Documentación completa
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>