diff --git a/src/components/SocialDashboard.tsx b/src/components/SocialDashboard.tsx index 1f93561..4d83136 100644 --- a/src/components/SocialDashboard.tsx +++ b/src/components/SocialDashboard.tsx @@ -240,11 +240,13 @@ const CHANNELS: { id: string; label: string; icon: React.ComponentType<{ className?: string }>; + /** Live Graph analytics in this panel (Meta only today). */ + metrics: boolean; }[] = [ - { id: 'instagram', label: 'Instagram', icon: Instagram }, - { id: 'facebook', label: 'Facebook', icon: Facebook }, - { id: 'linkedin', label: 'LinkedIn', icon: Linkedin }, - { id: 'tiktok', label: 'TikTok', icon: Share2 }, + { id: 'instagram', label: 'Instagram', icon: Instagram, metrics: true }, + { id: 'facebook', label: 'Facebook', icon: Facebook, metrics: true }, + { id: 'linkedin', label: 'LinkedIn', icon: Linkedin, metrics: false }, + { id: 'tiktok', label: 'TikTok', icon: Share2, metrics: false }, ]; function n(v?: number | null) { @@ -575,6 +577,11 @@ export default function SocialDashboard({ En los gráficos, la flecha es el cambio del primer al último día (no es un MoM).
++ Instagram y Facebook sí tienen métricas (Graph API). LinkedIn y + TikTok, si aparecen, son solo el perfil guardado en la ficha: + aún no hay evolución de impresiones ni seguidores. +
@@ -729,6 +742,12 @@ export default function SocialDashboard({ row?.external_account_id || '—'}
+ {linked && !ch.metrics ? ( ++ Hay un enlace de página en la ficha. No se leen + impresiones, seguidores ni interacciones todavía. +
+ ) : null} {url && (