Помогите загрузить видео в Facebook посредствам PHP
PHP код:
<?php
$video_title="ClipMa";
$video_desc="MyVideo";
$access_token="AAACSzOqfJ9oBAPq4WK7PJulQLNZBazNXG8VMOBgWLifCdf5a8ynUywhySPj4KGlK8pNNL5xysPT7mYTx0kmi6EJZArgZBLQQ0EkqKbNCywZB7PRZCy0Pq";
$post_url = "https://graph-video.facebook.com/me/videos?" . "title=" . $video_title. "&description=" . $video_desc . "&". $access_token;
$ch = curl_init();
$args["short.mp4"] = "http://176.9.11.179/flash/videomaker/videos/142489213_1317995567765.mp4";
curl_setopt($ch, CURLOPT_URL, $post_url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $args);
$res = curl_exec($ch);
?>
ОШИБКА
Код:
An active access token must be used to query information about the current user