wordpress - Posting And playing SWF videos in fb using Javascript SDK -


i developing wp plugin post wp posts fb. trying post swf videos generated site fb using javascript sdk. thumbnail,description link , other things posted.but when click thumbanil not playing video,instead redirecting link.the play button not showing.i attaching screen shot.

enter image description here

i attaching part of code...

var picture = data.preview_img; var source = swf_path+'fbap.swf?wpcontent='+content+'&bg_clr='+bg_color+'&bg_image='+bg_image+'&font_color='+font_color+'&repeat='+fill_mode+'&video_url='+uid;       var all_item = {      method: 'feed',      type: 'video',      picture: picture,      source: source,      name:'facebook dialogs',      description: 'using dialogs interact users.'       } ................................................................. fb.api('/me/feed', 'post', all_item , function(response) {                              if (!response || response.error) {                              alert('error occured: ' + response.error.message);                             } else {                                //code                              }       } 

i did meta tags.

    <meta property="og:title" content="fly, fools!" />     <meta property="og:type" content="website"/>     <meta property="og:description" content="content description" />     <meta property="og:image" content="http://i2.ytimg.com/vi/meocdys7ore/mqdefault.jpg" />     <meta property="og:site_name" content="content caption"/>     <meta property="og:video" content="http://www.youtube.com/v/meocdys7ore?version=3&autohide=1">     <meta property="og:video:type" content="application/x-shockwave-flash">     <meta property="og:video:width" content="640">     <meta property="og:video:height" content="360"> 

youtube video test posted correctly.but has cache problem.and can't pass large source url. there solution?thanks in advance help.

are trying post same post fb.it not have cache probelem.it because posting same wp post.

instead of passing large query string why don't pass post id , things meta tag.

use this

 var all_item = {type: 'link',link:'link meta tag?id='+postid} fb.api('/me/feed', 'post', all_item , function(response) {//code } 

get things in meta tag $_get , done.