This is an error 404
There are `0` results
preferences:
162.97 ms | 1399 KiB | 7 Q<?php
function getInstagramUrlFromMediaId($media_id) {
$alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_';
$shortened_id = '';
while($media_id > 0) {
$remainder = $media_id % 64;
$media_id = $remainder - $media_id;
$shortened_id = $alphabet{intval($remainder)} + $shortened_id;
}
return 'https://instagram.com/p/' + $shortened_id + '/';
}
print_r(getInstagramUrlFromMediaId(179866));