@extends('layouts.admin') @section('title', 'Facebook') @section('content')
{{-- ================= SUB-MENU TABS ================= --}}
{{-- ================= SETTINGS: CONNECTION ================= --}} {{-- ================= SETTINGS: AUTO POST ================= --}} {{-- ================= MANUAL POST ================= --}}

πŸš€ Post Manually

Har card ko Photo ya Reel ki tarah Facebook Page par post karo. Caption Instagram wali hi (per-card) use hoti hai.

@if (! $configured)

⚠️ Pehle Settings tab me Page ID + token daalo.

@endif @if ($stories->isEmpty())

No stories yet.

@else
@foreach ($stories as $story)

{{ $story->title }} ({{ ucfirst($story->status) }})

@foreach ($story->parts as $part) @if ($part->cards->isNotEmpty())
Part {{ $part->sort_order }} Β· {{ $part->cards->count() }} cards
@csrf
@csrf
@csrf
@foreach ($part->cards as $card)
@if ($card->isFbPosted())
βœ“ Posted
βœ“ Facebook @if ($card->fb_posted_at) πŸ•’ {{ $card->fb_posted_at->format('d M, h:i A') }} @endif @else
@csrf
@csrf
@if ($card->fb_status === 'failed') failed @if (filled($card->fb_error)) {{ Str::limit($card->fb_error, 90) }} @endif @endif @endif
@endforeach
@endif @endforeach
@endforeach
@endif
{{-- ================= AI CAPTION MODAL (Instagram caption reuse) ================= --}} @push('scripts') @endpush @endsection