@extends('home::layouts.UserLayout') @section('title') {{env('WEBSITE_TITLE')}} | Scheduling @endsection @section('links') @endsection @section('content') @php $content = ''; $content .= isset($discription) ? $discription : ''; $video = ''; if (isset($videoData) && $videoData !== 'No'){ $video = $videoData; }else if (isset($data) && $data['code'] === 200){ $video = $data['data']->postDetails->mediaUrl['0']; } $timezone = session()->get('timezone'); $publishDate = (isset($data) && $data['code'] === 200 && $data['data']->postDetails->privacy === 'private' && $data['data']->postDetails->publishAt !== null ) ? $data['data']->postDetails->publishAt : "nodetes" @endphp

Schedule Post

@csrf
{{ $errors->first('account_id') }}
@if(isset($data) && $data['code'] === 200) @endif @if($socialAccounts !== null)
  • Thumbnail FIle should not be greater than 2MB.
  • Youtube account must be verified (phone number verification).
Choose YouTube accounts for posting @foreach($socialAccounts['account'] as $accounts)
{{$accounts->first_name}} {{$accounts->friendship_counts}} followers
@endforeach
@else

Please add Youtube Accounts

@endif

{{ $errors->first('title') }}
Upload Video
@if(isset($video) && $video !== '')
@else
@endif
Thumbnail (Optional)
@if(isset($data) && $data['code'] === 200 && $data['data']->postDetails->thumbnailUrl !== "" )
@else
@endif

Privacy Status

@if(isset($data) && $data['code'] === 200) @else @endif @if(isset($data) && $data['code'] === 200) @else @endif

Preview

Account Name Just now

@if(isset($video) && $video !== '') @endif
Like
Comments
Share
@endsection @section('scripts') @endsection