Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
26
rated 0 times [  27] [ 1]  / answers: 1 / hits: 8833  / 11 Years ago, fri, december 27, 2013, 12:00:00

I'm trying to post a video to a user's timeline using Facebook's feed dialog. When I use the javascript SDK with:



FB.ui({
method:'feed',
name: 'testing',
link: 'http://www.facebook.com',
picture: 'http://img.youtube.com/vi/1CE6W5BubQo/0.jpg',
source: 'http://www.youtube.com/watch?v=1CE6W5BubQo'
});


I get:



As



And this is missing the thumbnail and video player. I tried adding type: 'video' to the parameters and I also tried replacing the source parameter with a direct link to the .swf file, but that didn't help. I'm not sure if this is a bug or if I'm doing something wrong. Any ideas?


More From » facebook

 Answers
26

Do like that:



FB.ui(
{
method: 'feed',
name: 'testing',
link: 'http://www.facebook.com',
picture: 'http://img.youtube.com/vi/1CE6W5BubQo/0.jpg',
//caption: '',
description: '',
source: 'https://www.youtube.com/v/1CE6W5BubQo?version=3&autohide=1&autoplay=1'
},...


enter


[#49195] Wednesday, December 25, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
katelinb

Total Points: 535
Total Questions: 104
Total Answers: 109

Location: Burkina Faso
Member since Sun, Jun 13, 2021
3 Years ago
;