{"id":16294350,"url":"https://github.com/vasani-arpit/download-facebook-data","last_synced_at":"2025-03-20T04:30:35.832Z","repository":{"id":99080554,"uuid":"379250384","full_name":"vasani-arpit/download-facebook-data","owner":"vasani-arpit","description":"Download all images from facebook profile","archived":false,"fork":false,"pushed_at":"2021-06-22T11:49:01.000Z","size":36,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T23:01:58.168Z","etag":null,"topics":["automation","facebook","nodejs","puppeteer","social-media"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/vasani-arpit.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":"2021-06-22T11:48:54.000Z","updated_at":"2023-03-10T08:19:11.000Z","dependencies_parsed_at":"2023-04-03T12:48:00.711Z","dependency_job_id":null,"html_url":"https://github.com/vasani-arpit/download-facebook-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasani-arpit%2Fdownload-facebook-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasani-arpit%2Fdownload-facebook-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasani-arpit%2Fdownload-facebook-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasani-arpit%2Fdownload-facebook-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vasani-arpit","download_url":"https://codeload.github.com/vasani-arpit/download-facebook-data/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244047647,"owners_count":20389206,"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","facebook","nodejs","puppeteer","social-media"],"created_at":"2024-10-10T20:15:00.740Z","updated_at":"2025-03-20T04:30:35.826Z","avatar_url":"https://github.com/vasani-arpit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Download Facebook data\n\n## 🤷‍♂️ What is this?\n\nThis code will download **all the photos from a profile**. The easy and best way to download all your facebook photos is [this one](https://www.alphr.com/download-all-photos-facebook/). In my case I was not able to login into the account which I wanted to download photos from 😉 so I createed this script. \n\n## 🚀 How to run this?\n\n1. Clone the repo\n2. `npm install`\n3. Run chrome with remote debugging port \n    - for windows, close all chrome instances including PWAs\n    - chrome icon on desktop \u003e properties \u003e target, add this at the end ` --remote-debugging-port=9222 -- \"%1\"`\n    - save and start chrome\n4. go to VSCode and hit F5\n5. Once building is complete it will open facebook in your browser\n6. login if you aren't in FB \n7. Go to any profile by searching or from your friend list\n8. Goto Photos \u003e Albums \n9. Script will detect that you are on Albums page so it will open first album in new tab\n10. if there are more than 100 images then you need to scroll until all images are loaded, script will detect once all (or enough) are loaded then it will do it's thing\n11. If there are less images in album and all are loaded in the page then script will start doing it's thing without waiting for you to scroll\n\n\n## 💁‍♂️ How is this working?\n\nIt connects to your running chrome instead of creating a new instance of the chrome which Facebook might detect and block. and believe me they are good at detecting automation activity. \n\nFor simplicity, script is running in synchronous mode, It can be made faster but I don't see the reason to. \n\n## 🛑 General Warning\n\nThis repo is for eduction purpose only. This may or may not work. If Facebook or local authority stop or ban you account then it's on you. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasani-arpit%2Fdownload-facebook-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvasani-arpit%2Fdownload-facebook-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasani-arpit%2Fdownload-facebook-data/lists"}