{"id":16648510,"url":"https://github.com/hfreire/facebook-login-for-robots","last_synced_at":"2025-03-15T12:30:30.175Z","repository":{"id":22100856,"uuid":"95297692","full_name":"hfreire/facebook-login-for-robots","owner":"hfreire","description":"Facebook Login for 🤖 robots","archived":false,"fork":false,"pushed_at":"2024-06-18T06:36:27.000Z","size":5699,"stargazers_count":52,"open_issues_count":24,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-08T13:06:55.073Z","etag":null,"topics":["automation","bot","facebook","facebook-api","facebook-app","facebook-hack","facebook-login","github-actions","hack","puppeteer","robot"],"latest_commit_sha":null,"homepage":null,"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/hfreire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"hfreire","custom":"https://paypal.me/hfreire"}},"created_at":"2017-06-24T12:58:39.000Z","updated_at":"2024-07-05T13:21:53.000Z","dependencies_parsed_at":"2023-12-20T10:43:31.862Z","dependency_job_id":"38ca6de3-c2f1-48df-8264-b92acc01c76f","html_url":"https://github.com/hfreire/facebook-login-for-robots","commit_stats":{"total_commits":1380,"total_committers":8,"mean_commits":172.5,"dds":0.6840579710144927,"last_synced_commit":"c7bb6bc9eb3c5d91e68cec050db2e376f2ee18c2"},"previous_names":[],"tags_count":174,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfreire%2Ffacebook-login-for-robots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfreire%2Ffacebook-login-for-robots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfreire%2Ffacebook-login-for-robots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfreire%2Ffacebook-login-for-robots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hfreire","download_url":"https://codeload.github.com/hfreire/facebook-login-for-robots/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243730851,"owners_count":20338726,"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":["automation","bot","facebook","facebook-api","facebook-app","facebook-hack","facebook-login","github-actions","hack","puppeteer","robot"],"created_at":"2024-10-12T09:04:36.049Z","updated_at":"2025-03-15T12:30:29.781Z","avatar_url":"https://github.com/hfreire.png","language":"JavaScript","funding_links":["https://github.com/sponsors/hfreire","https://paypal.me/hfreire","https://paypal.me/hfreire/5"],"categories":["JavaScript"],"sub_categories":[],"readme":"# Facebook Login for 🤖 robots\n\n[![](https://github.com/hfreire/facebook-login-for-robots/workflows/ci/badge.svg)](https://github.com/hfreire/facebook-login-for-robots/actions?workflow=ci)\n[![Coverage Status](https://coveralls.io/repos/github/hfreire/facebook-login-for-robots/badge.svg?branch=master)](https://coveralls.io/github/hfreire/facebook-login-for-robots?branch=master)\n[![Known Vulnerabilities](https://snyk.io/test/github/hfreire/facebook-login-for-robots/badge.svg)](https://snyk.io/test/github/hfreire/facebook-login-for-robots)\n[![](https://img.shields.io/github/release/hfreire/facebook-login-for-robots.svg)](https://github.com/hfreire/facebook-login-for-robots/releases)\n[![Version](https://img.shields.io/npm/v/facebook-login-for-robots.svg)](https://www.npmjs.com/package/facebook-login-for-robots)\n[![Downloads](https://img.shields.io/npm/dt/facebook-login-for-robots.svg)](https://www.npmjs.com/package/facebook-login-for-robots)\n\n\u003e Uses a headless browser to perform a Facebook Login ([OAuth dialog](https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow)) in a Facebook App.\n\n### Features\n* Uses [Perseverance](https://github.com/hfreire/perseverance) to add :raised_hand: rate limit, :poop: retry and :traffic_light: circuit breaker behaviour to your requests :white_check_mark:\n* Supports [Bluebird](https://github.com/petkaantonov/bluebird) :bird: promises :white_check_mark:\n\n### How to install\n```\nnpm install facebook-login-for-robots\n```\n\n### How to use\n\n#### Use it in your app\nUse Facebook Login to get an access token for a Facebook App\n```javascript\nconst FacebookLogin = require('facebook-login-for-robots')\n\nconst facebookLogin = new FacebookLogin({\n  facebook: {\n    email: 'my-facebook-email-address',\n    password: 'my-facebook-passsword'\n  },\n  // puppeteer: {\n  //   headless: false // helpful for troubleshooting\n  // }\n})\n\nconst clientId = 'my-facebook-app-id'\nconst redirectUri = 'my-facebook-app-redirect-uri'\n\nfacebookLogin.oauthDialog(clientId, redirectUri)\n  .then(({ facebookAccessToken }) =\u003e console.log(facebookAccessToken))\n  .catch((error) =\u003e console.error(error))\n```\n\n### How to contribute\nYou can contribute either with code (e.g., new features, bug fixes and documentation) or by [donating 5 EUR](https://paypal.me/hfreire/5). You can read the [contributing guidelines](CONTRIBUTING.md) for instructions on how to contribute with code.\n\nAll donation proceedings will go to the [Sverige för UNHCR](https://sverigeforunhcr.se), a swedish partner of the [UNHCR - The UN Refugee Agency](http://www.unhcr.org), a global organisation dedicated to saving lives, protecting rights and building a better future for refugees, forcibly displaced communities and stateless people.\n\n### Used by\n* [get-me-a-date](https://github.com/hfreire/get-me-a-date) - :heart_eyes: Help me get a :cupid: date tonight :first_quarter_moon_with_face:\n\n### License\nRead the [license](./LICENSE.md) for permissions and limitations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhfreire%2Ffacebook-login-for-robots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhfreire%2Ffacebook-login-for-robots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhfreire%2Ffacebook-login-for-robots/lists"}