function fb() { $pageID = addslashes($_REQUEST['pid']); $json = LeapFacebook::getPostswID($pageID); // pr($json); echo $json; die; }