I'm trying to embed the SWF file to the wall post but it works with Youtube URL but not for my own URL. When it doesn't work it will not even show the picture in the post. See below for the code.
This one is work:
$result = $facebook->api('/' . $postTo . '/feed' , 'post' , array(
"name" => APP_NAME,
"message" => mysql_real_escape_string($title2),
"picture" => "http://www.mydomain.com/pinklogo.jpg",
"link" => fb_root(),
"caption" => $title,
"description" => $des,
"source" => 'http://www.youtube.com/v/qAsx_PkkMu8'
));
This one is not work:
$result = $facebook->api('/' . $postTo . '/feed' , 'post' , array(
"name" => APP_NAME,
"message" => mysql_real_escape_string($title2),
"picture" => "http://www.mydomain.com/pinklogo.jpg",
"link" => fb_root(),
"caption" => $title,
"description" => $des,
"source" => 'http://www.mydomain.com/qAsx_PkkMu8.swf'
));
Is there any approval request that I need to do before Facebook allow to publish SWF from my domain?
Thanks.