I am trying to allow user to share video on my website to their facebook.
$data = [
'title' => urldecode($_GET['c']),
'description' => urldecode($_GET['t']),
'source' => $fb->videoToUpload('video/video_1mb.mp4'),
];
$response = $fb->post('/me/videos', $data, $accessToken);
Above is the php code I used to post the video to their facebook. It works but I have some questions:
- I have some description and links (in the description) wants to share with the video to facebook. As facebook is not allowed to prefill sharing message in the post, how can I add description and links? I want the description and links show below the video. Just like sharing a youtube video to facebook. When you play the youtube video on facebook, there is some text below the video. Can I do the same things for facebook video?
- I know you can add a link at the end of the facebook video on facebook page. Can I do the same thing if I am sharing to personal account not page?
- I can get the like counter after getting the user login of their facebook account. But can I get the number of video view as well? I saw there is a insight but is it only working for facebook page?
Thanks, Alex