Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Facebook Video
#1
This user has been denied support. This user has been denied support.
I want to share facebook videos on my MYBB forum. I used to have right codes before 3 month ago. But now my videos didn't work. Some Film-TVseries sites and forums are using new facebook video embedding system. Anybody have this facebook video embedding codes?

It's my old codes.

Embedding;
<embed src="http://supernaturalturkey.com/izle.swf" width="640" height="480" allowscriptaccess="always" allowfullscreen="true" flashvars="width=640&volume=100&displayclick=true&fullscreen=true&file=http://supernaturalturkey.com/git.php?link=http://video.ak.fbcdn.net/cfs-ak-ash4/453452/497/185181668256168_44547.mp4&logo=http://supernaturalturkey.com/backplayer.png"/>

git.php
<?
if ($_REQUEST['link']){
    header("Location: ".faceduzelt($_REQUEST['link']));
    exit;
}
function faceduzelt($url)
{
    preg_match('/([\d]+)*_[\d]+\./',$url,$id);
    $data = file_get_contents("http://www.facebook.com/ajax/flash/expand_inline.php?target_div=u879823_18&__a=1&v=".$id[1]);
    $karakter = array('\\\\u00253A'=>':','\\\\u00252F'=>"/",'\\\\u00253F'=>'?','\\\\u002526'=>'&','\\\\u00253D'=>'=');
    preg_match('@\\\"video_src\\\", \\\"([^"]*)\\\"@i',$data,$adres);
    return ($adres[1])?str_replace(array_keys($karakter),$karakter,$adres[1]):false;
}

?> 

Sorry for my bad english :)
#2
Stop the duplicate threads. This is not security-related at all.
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)


Forum Jump:


Users browsing this thread: 1 Guest(s)