I have a problem publishing videos through my application for users with a TimeLine profile. the message seems very small, and when you click the video, a new tab opens instead of playing inside facebook.
Here are a few details:
I am creating an application that creates customizable videos (SWFs) and post them to a custom friendโs wall. I am wrapping a SWF file in an HTML file that contains the following meta og tags:
<meta property="fb:app_id" content="******" /> <meta property="og:url" content="THIS PAGE URL" /> <meta property="og:title" content="Title" /> <meta property="og:description" content="some description" /> <meta property="og:type" content="video" /> <meta property="og:image" content="an img url" /> <meta property="og:video" content="URL TO THE SWF FILE" /> <meta property="og:video:type" content="application/x-shockwave-flash" /> <meta property="og:video:width" content="396" /> <meta property="og:video:height" content="297" /> <meta property="og:site_name" content="pickle-games" />
and then in the body I insert SWF using the "embed" tag.
You can see an example by looking at the source http://pickle-games.com/BigBully/hitVideo.php?hit_id=1327242593&hit=hit2
I use PHPbook on PHP on Facebook to post it on the wall:
$facebook->api("/" . $uid . "/feed", "POST", array( 'link' => $server_url . 'hitVideo.php?hit='. $hit . "&hit_id=".$hit_id ."&u_name=" . $u_name . "&f_name=". $f_name ));
When publishing to a user with an old profile (and not on the timeline), everything works fine, and the video is played back on the wall.
The problem, as mentioned above, is only when posting to a user who uses a TimeLine profile
BTW - if I share the link manually (not through my application) on the friendโs timeline, then everything works fine ...
What am I missing? How can I publish it through my application so that it works on the timeline? Thanks.
Shai kerer
source share