{{-- resources/views/facebook-posts/show.blade.php --}} {{ $facebookPost->getTruncatedContent(50) }} - تفاصيل المنشور

تفاصيل المنشور

عرض تفاصيل وإحصائيات المنشور

@if($facebookPost->canEdit()) تعديل @endif @if(!$facebookPost->isPublished()) @endif العودة
محتوى المنشور
{{ $facebookPost->facebookPage->name ?? 'صفحة محذوفة' }}
{!! $facebookPost->getStatusBadge() !!} {!! $facebookPost->getTypeBadge() !!}
النص:

{{ $facebookPost->content }}

@if($facebookPost->media_urls)
المرفقات ({{ count($facebookPost->media_urls) }}):
@foreach($facebookPost->media_urls as $index => $mediaUrl)
@if(in_array($facebookPost->type, ['image', 'carousel'])) Media {{ $index + 1 }} @else
{{ basename($mediaUrl) }}
@if(isset($facebookPost->media_metadata[$index])) {{ round($facebookPost->media_metadata[$index]['size'] / 1024 / 1024, 2) }} MB @endif
تشغيل
@endif
@endforeach
@endif @if($facebookPost->facebook_response)
استجابة فيسبوك:
تم النشر بنجاح
@if(isset($facebookPost->facebook_response['id']))
معرف المنشور: {{ $facebookPost->facebook_response['id'] }}
عرض على فيسبوك @endif
@endif @if($facebookPost->error_message)
رسالة الخطأ:

{{ $facebookPost->error_message }}

@endif
@if($facebookPost->isPublished())
إحصائيات المنشور

{{ number_format($facebookPost->likes_count) }}

إعجاب

{{ number_format($facebookPost->comments_count) }}

تعليق

{{ number_format($facebookPost->shares_count) }}

مشاركة

@endif
معلومات المنشور
الصفحة:

{{ $facebookPost->facebookPage->name ?? 'صفحة محذوفة' }}

النوع:
{!! $facebookPost->getTypeBadge() !!}
الحالة:
{!! $facebookPost->getStatusBadge() !!}
تاريخ الإنشاء: {{ $facebookPost->created_at->format('Y-m-d H:i') }}
@if($facebookPost->isScheduled())
موعد النشر:
{{ auth()->user()->toUserTime($facebookPost->scheduled_at)->format('Y-m-d H:i') }}
{{ $facebookPost->scheduled_at->diffForHumans() }}
@endif @if($facebookPost->published_at)
تاريخ النشر:
{{ $facebookPost->published_at->format('Y-m-d H:i') }}
{{ $facebookPost->published_at->diffForHumans() }}
@endif @if($facebookPost->media_urls)
عدد الملفات: {{ count($facebookPost->media_urls) }}
@endif
الإجراءات
@if($facebookPost->canEdit()) تعديل المنشور @endif @if(!$facebookPost->isPublished()) @endif @if($facebookPost->canDelete()) @endif
@if(isset($recentPosts) && $recentPosts->count() > 0)
منشورات أخيرة
@foreach($recentPosts as $recentPost)
@if($recentPost->getPreviewImage()) Preview @else
@endif
{{ $recentPost->getTruncatedContent(50) }}
{!! $recentPost->getStatusBadge() !!} {{ $recentPost->created_at->diffForHumans() }}
@endforeach
@endif