Created
September 5, 2021 18:15
-
-
Save Ademking/866f4478f9757af0ff761dcb92f1839e to your computer and use it in GitHub Desktop.
Get facebook user id from url
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let url = "https://www.facebook.com/AdemKouki.Officiel/" | |
fetch(`https://whopostedwhat.com/resolve.php?request=resolve&username=${url}`) | |
.then(response => response.text()) | |
.then(result => console.log(result)) | |
.catch(error => console.log('error', error)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment