15 posts. 2 langues. Programmés sur 13 jours. Zéro intervention manuelle après validation.


Voici le système de publication automatique.


🔑 Étape 1 — Créer une app LinkedIn


1. linkedin.com/developers → Create App
2. Associer votre page entreprise (obligatoire)
3. Demander les scopes : openid, profile, w_member_social
4. Redirect URI : http://localhost:8099/callback
5. Répéter pour chaque profil LinkedIn


🐍 Étape 2 — Script d'authentification OAuth


Un script Python lance un serveur HTTP local sur le port 8099. Vous ouvrez l'URL d'autorisation dans le navigateur. LinkedIn renvoie un code. Le script l'échange contre un token valide 60 jours.


J'ai 2 profils : FR (hicommerceweb@gmail.com) et EN (stephane.jambu@gmail.com). Chacun a son fichier .env et son token.json.


📤 Étape 3 — Script de publication


Le script post.py lit un fichier texte et publie sur LinkedIn via l'API REST :
• POST https://api.linkedin.com/rest/posts
• Header obligatoire : LinkedIn-Version: 202502
• Options : --profile fr|en, --file post.txt, --image photo.jpg


Usage : python post.py --profile fr --file post.txt


Limite : 3 000 caractères par post.


Étape 4 — Programmation avec cron


Chaque post a un fichier FR et un fichier EN (traduit par Claude Code, pas une traduction littérale : devises adaptées, ton ajusté).


Un cron lance la publication aux heures prévues :
• FR à 9h30 heure de France
• EN 6h après (15h30 France = 9h aux US)


Un wrapper bash gère les logs et les erreurs.


💰 Coût total du système


• LinkedIn API : gratuit
• Serveur : aucun (cron tourne sur mon PC)
• Rédaction : Claude Code (abonnement existant)
• Total supplémentaire : 0 €


🔄 Le cycle complet


Réunion Zoom → transcription auto → résumé IA dans Obsidian → extraction d'insights → rédaction de post → validation humaine ("OK") → programmation auto → publication FR+EN


De la réunion au post LinkedIn, le seul moment où j'interviens : je lis le post et j'écris "OK".


Le reste est automatisé.


Vous publiez manuellement sur LinkedIn ? Combien de temps y passez-vous chaque semaine ?