{"id":21467136,"url":"https://github.com/snoopycodex/autopokeback","last_synced_at":"2026-05-17T12:06:17.221Z","repository":{"id":256548104,"uuid":"855578802","full_name":"SnoopyCodeX/autopokeback","owner":"SnoopyCodeX","description":"A simple web scraper made using PuppeteerJS and NodeJS that automates pressing the \"Poke Back\" button whenever a facebook friend/user pokes you.","archived":false,"fork":false,"pushed_at":"2024-09-29T15:06:29.000Z","size":76,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T15:37:45.255Z","etag":null,"topics":["autopokeback","chrome-headless-shell","nodejs","puppeteerjs"],"latest_commit_sha":null,"homepage":"https://github.com/SnoopyCodeX/autopokeback","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SnoopyCodeX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-09-11T05:25:09.000Z","updated_at":"2024-09-29T15:06:31.000Z","dependencies_parsed_at":"2024-09-11T16:14:13.459Z","dependency_job_id":"625d3dc2-8ba8-47cb-8719-dd16b9e7e78c","html_url":"https://github.com/SnoopyCodeX/autopokeback","commit_stats":null,"previous_names":["snoopycodex/autopokeback"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnoopyCodeX%2Fautopokeback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnoopyCodeX%2Fautopokeback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnoopyCodeX%2Fautopokeback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnoopyCodeX%2Fautopokeback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SnoopyCodeX","download_url":"https://codeload.github.com/SnoopyCodeX/autopokeback/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243982182,"owners_count":20378605,"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":["autopokeback","chrome-headless-shell","nodejs","puppeteerjs"],"created_at":"2024-11-23T08:16:47.758Z","updated_at":"2026-05-17T12:06:12.190Z","avatar_url":"https://github.com/SnoopyCodeX.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![banner](./pictures/banner.png)\n\n## Auto Poke Back (Facebook web scraper)\n\nA simple web scraper made using [PuppeteerJS](https://pptr.dev) and NodeJS that automates pressing the \"Poke Back\" button whenever a facebook friend/user pokes you.\n\n### Setup\n\nFirst, run:\n\n```bash\nnpm install\n```\n\nThen, run:\n\n```bash\n\nnpx @puppeteer/browsers install chrome-headless-shell@latest\n```\n\nAfter that, open and edit the \u003ckbd\u003e.env\u003c/kbd\u003e file and replace the keys with their respective values, however, the `USER_AGENT` key's value is optional and may be left as-is.\n\n```bash\n# Your facebook email address\nFB_EMAIL=youremail@gmail.com\n\n# Your facebook password\nFB_PASS=yourpassword123\n\n# Browser user agent (optional)\nUSER_AGENT='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.2420.81'\n```\n\nOnce all are done, you may then run:\n\n```bash\nnode index.js\n```\n\n**NOTE:** If you encounter a checkpoint, just open your facebook account in your another device and check your notification for a login approval request. Click it and just approve your login then wait for a few seconds and this tool will detect the approval. However, facebook's login checkpoint may also mean that your account has been marked as spam or temporarily disabled by facebook.\n\n### Preview\n![preview](./pictures/preview.png)\n\n### Possible Improvements\n- [ ] Login cookie (to avoid relogging in and going through the login checkpoint everytime)\n- [x] Incorrect email/password detection\n- [x] 2-Step Verification detection\n- [x] Manual logging in when .env file is not present\n- [x] Better error handling (like timeouts, unhandled exceptions, etc.)\n\n### Disclaimer\nI will not be responsible for any damages/consequences that this may cause to your and/or other's account(s). Please use at your own risk.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnoopycodex%2Fautopokeback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnoopycodex%2Fautopokeback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnoopycodex%2Fautopokeback/lists"}