{"id":17377390,"url":"https://github.com/pradel/find-facebook-id","last_synced_at":"2025-04-15T08:37:56.368Z","repository":{"id":57170204,"uuid":"88049908","full_name":"pradel/find-facebook-id","owner":"pradel","description":"Find a facebook id given a facebook name","archived":false,"fork":false,"pushed_at":"2017-04-12T15:35:12.000Z","size":41,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T18:11:27.982Z","etag":null,"topics":["cli","facebook","facebook-id"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pradel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-12T12:35:50.000Z","updated_at":"2020-08-25T19:51:15.000Z","dependencies_parsed_at":"2022-08-27T12:01:59.528Z","dependency_job_id":null,"html_url":"https://github.com/pradel/find-facebook-id","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Ffind-facebook-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Ffind-facebook-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Ffind-facebook-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradel%2Ffind-facebook-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pradel","download_url":"https://codeload.github.com/pradel/find-facebook-id/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248851032,"owners_count":21171831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","facebook","facebook-id"],"created_at":"2024-10-16T05:05:54.536Z","updated_at":"2025-04-15T08:37:56.346Z","avatar_url":"https://github.com/pradel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# find-facebook-id\n\n[![npm version](https://badge.fury.io/js/find-facebook-id.svg)](https://badge.fury.io/js/find-facebook-id)\n[![CircleCI](https://circleci.com/gh/pradel/find-facebook-id.svg?style=svg)](https://circleci.com/gh/pradel/find-facebook-id)\n\nFind a facebook id given a Facebook name.\n\nSupport:\n- users\n- pages\n- groups (You will need a valid facebook access token)\n\n### Install\n```\nyarn add find-facebook-id\nnpm i --save find-facebook-id\n```\n\n### Usage\n```javascript\nimport findFacebookId from 'find-facebook-id';\n\n// Find facebook id return a promise\n\nconst id = await findFacebookId('zuck');\n\nfindFacebookId('zuck').then((id) =\u003e {\n  console.log(`facebook id of zuck is: ${id}`);\n}).catch((err) =\u003e {\n  console.log(err);\n});\n\n// To query a group you must pass a valid facebook access token\nfindFacebookId('groupsatopenuniversity', facebookAccessToken).then((id) =\u003e {\n  console.log(`facebook id of groupsatopenuniversity is: ${id}`);\n}).catch((err) =\u003e {\n  console.log(err);\n});\n```\n\n### Cli\nInstall:\n```\nyarn global add find-facebook-id\nnpm i -g find-facebook-id\n```\n\nUsage:\n```\n$ find-facebook-id \u003cusername/pagename\u003e\n$ find-facebook-id \u003cgroupname\u003e \u003cfacebook-access-token\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradel%2Ffind-facebook-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpradel%2Ffind-facebook-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradel%2Ffind-facebook-id/lists"}