Created
July 24, 2017 21:16
-
-
Save mgunneras/6e278270072ce45368b955439adb7fec to your computer and use it in GitHub Desktop.
Fetch Facebook 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
#! /bin/bash | |
URL=$1 | |
curl -s https://findmyfbid.com/ -H 'accept: application/json' --data "url=$URL" | cut -d\: -f 2 | tr } ' ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment