에 게시 유튜브 비디오 I가 내가 그래프 API를 사용하여 페이스 북에 게시물 일정을 사용하고이 코드 : 이제 포스트가 성공적으로 그룹의 벽에 게시되고잘못된 요청하면 페이스 북
$body = array(
'message' => $post->message,
'link' => site_url('index.php/cron/redirect/'.url_encode($post->id_cron)),
'picture' => 'http://img.youtube.com/vi/'.$post->picture.'/0.jpg',
'name' => $post->name,
'caption' => $post->caption,
'description' => $post->description,
'access_token' => $access_token,
'appsecret_proof' => hash_hmac('sha256', $access_token, $this->faceboook->app_secret),
'type' => 'video',
'source' => 'http://www.youtube.com/e/'.$post->picture
);
$relative_url = "/".$post->id_wall."/feed";
$batch = array('method' => 'POST', 'relative_url' => $relative_url, 'body' => http_build_query($body));
$facebook->api('?batch='.urlencode(json_encode($batch)), 'POST');
을, 링크가 맞으면 미리보기 이미지가 정확하며 작은 재생 버튼이 미리보기 이미지의 왼쪽 하단에 표시되므로 동영상으로 표시됩니다. 이제 문제는 내가 얻을 수있다
"Invalid Error: There was a problem with the parameters of the request"
작은 이미지를 클릭하려고 할 때마다. 예상되는 동작은 게시물이 플레이어를 열고 그룹 벽에서 비디오를 재생한다는 것입니다. 여기에 무슨 문제가있는 것 같습니까? 아무도 나를 도울 수 있습니까?