Access to full-size cover of facebook user framework
In php we can do the following. Its a little hack, and I can’t guarantee that it will work for life.
As you can see, there is a photograph in the return URL s720x720. Now we replace it with l720(L720). using preg_replace () in php.
$coverphoto_url="https://a3.sphotos.ak.fbcdn.net/hphotos-ak-prn1/s720x720/xxxxxx_xxxxxxxxxxxxxxx_xxxxxxxxxx_n.jpg";
$coverphoto_url = preg_replace('/s720/i','l720',$coverphoto_url);
It will return
https://a3.sphotos.ak.fbcdn.net/hphotos-ak-prn1/ l720x720/xxxxxx_xxxxxxxxxxxxxxx_xxxxxxxxxx_n.jpg
javascript.
coverphoto_url = coverphoto_url.replace(/s720/i, 'l720');
, coverphoto API- , , .
URL- Securl?
, - :)