find-facebook-id
Find a facebook id given a Facebook name.
Support:
- users
- pages
- groups (You will need a valid facebook access token)
Install
yarn add find-facebook-id
npm i --save find-facebook-id
Usage
; // Find facebook id return a promise const id = await ; ; // To query a group you must pass a valid facebook access token;
Cli
Install:
yarn global add find-facebook-id
npm i -g find-facebook-id
Usage:
$ find-facebook-id <username/pagename>
$ find-facebook-id <groupname> <facebook-access-token>