Ngừng hoạt động một phầnshare-external
Facebook Story publish returns error: 'Service temporarily unavailable'
1

My code: const statusResponse = await fetch(https://graph.facebook.com/v21.0/${uploadedVideo}?fields=status, { method: 'GET', headers: { 'Authorization': OAuth ${pageAccessToken} }, }); const statusData = await statusResponse.json(); console.log(statusData);

  const body = {
    access_token: pageAccessToken,
    video_id: uploadedVideo,
    upload_phase: "finish",
  }
  const response = await fetch(`https://graph-video.facebook.com/v21.0/${pageId}/video_stories`, {
    method: 'POST',
    headers: {
      "Content-Type": "application/json",
      'Authorization': `OAuth ${pageAccessToken}`
    },
    body: JSON.stringify(body)
  });

Status log: { status: { video_status: 'upload_complete', uploading_phase: { status: 'complete', bytes_transferred: 944906 }, processing_phase: { status: 'not_started' }, publishing_phase: { status: 'not_started' }, copyright_check_status: { status: 'in_progress' } }, id: '1097120798214401' }

Entire error message: error: { message: 'Service temporarily unavailable', type: 'OAuthException', is_transient: false, code: 2, error_subcode: 1363141, error_user_title: 'Falha na criação do story', error_user_msg: 'Falha na criação do story. Repita a solicitação.', fbtrace_id: 'Al1-ZL6fLg_kQjhehzw0FSp' }

Murilo
Đã hỏi khoảng 2 tuần trước