Hello I have a list of facebook links in xls sheet with facebook id something like this
and when i go through these links means if i access facbook with id www.facebook.com/7500
i get urls something like this https://www.facebook.com/davesachs/
so my question is i want to do this with PHP, i have a php page which read data from xls sheet my code here:
require_once 'src/SimpleXLSX.php';
if ( $xlsx = SimpleXLSX::parse('fburl.xlsx') ) {
$rows= $xlsx->rows();
foreach($rows as $data){
echo $data[0].'<br>';
}
} else {
echo SimpleXLSX::parseError();
}
its returning all facebook link with id now i want it send to the facbook with id and get the link as explained above and insert in a separate xls sheet, if it is possible please help me to do that.
question from:https://stackoverflow.com/questions/65932998/get-third-party-web-page-url-using-php