{"id":14978895,"url":"https://github.com/mujadded/facebook_scrapper","last_synced_at":"2025-10-28T13:31:22.776Z","repository":{"id":56845381,"uuid":"208463094","full_name":"Mujadded/facebook_scrapper","owner":"Mujadded","description":"The fcebook scrapper gem that dont need the api","archived":false,"fork":false,"pushed_at":"2019-09-22T16:46:06.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-31T03:12:33.009Z","etag":null,"topics":["data","data-mining","facebook","ruby-gem","scrapper","selenium-webdriver"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/Mujadded.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}},"created_at":"2019-09-14T15:49:51.000Z","updated_at":"2020-08-22T09:39:56.000Z","dependencies_parsed_at":"2022-09-17T21:54:51.020Z","dependency_job_id":null,"html_url":"https://github.com/Mujadded/facebook_scrapper","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/Mujadded%2Ffacebook_scrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mujadded%2Ffacebook_scrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mujadded%2Ffacebook_scrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mujadded%2Ffacebook_scrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mujadded","download_url":"https://codeload.github.com/Mujadded/facebook_scrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238655018,"owners_count":19508541,"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":["data","data-mining","facebook","ruby-gem","scrapper","selenium-webdriver"],"created_at":"2024-09-24T13:58:35.823Z","updated_at":"2025-10-28T13:31:22.417Z","avatar_url":"https://github.com/Mujadded.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to FacebookScrapper Gem 👋\n![Version](https://img.shields.io/badge/version-0.4.0-blue.svg?cacheSeconds=2592000)\n[![Twitter: mujadded](https://img.shields.io/twitter/follow/mujadded.svg?style=social)](https://twitter.com/mujadded)\n\n\u003e This is gem that gives you a way to gather data from facebook without using the api. For example for a bot or maybe for pet project. Using this gem we can scrap data from home or from a group. We can also post in group and also post status. It totally up to you how you want to proceed\n\n## Inspired from\n\nThis is inspired from https://github.com/hikaruAi/FacebookBot the bot is a inspiration itself :smile:\n\n## Dependencies\n\nTo use this gem properly we need to install selenium webdriver and also the chrome driver\n\n### Selenium gem install\n\n```sh\ngem install selenium-webdriver\n```\n\n### Chrome driver\n\nTo install the chrome driver, please follow:\n\nFor Ubuntu:\n[Ubutu install](https://tecadmin.net/setup-selenium-chromedriver-on-ubuntu/)\n\nFor Mac:\n[Mac install](https://www.kenst.com/2015/03/installing-chromedriver-on-mac-osx/)\n\nFor Windows:\n[Windows install](https://www.kenst.com/2019/02/installing-chromedriver-on-windows/)\n\n## Install\n\nTo install the latest gem \n\n```sh\ngem install facebook_scrapper\n```\n\n## Usage\n\nFirst initalize the scrapper.\n\n```sh\nfacebook = FacebookScrapper::Scrapper.new\n```\n\nNext step is to log in.\n\n```sh\nfacebook.login('email', 'password')\n```\n\nIf you have 2 step authenticate maybe authenticate the device then try again.\n\nTo check if log in was successfull\n```\n  facebook.is_logged_in?\n\n```\nThen to get posts\n\n```sh\nfacebook.get_posts_from_home(keywords) // keywords are array of string and optional\n\nfacebook.get_posts_from_group_url(url, keywords) // keywords is optional\n```\n\nTo write the post in url\n\n```sh\nfacebook.write_post_to_url(url, text) //url you want to post to and text you want to write\n```\n\n## Author\n\n👤 **Mujadded Al Rabbani Alif**\n\n* Twitter: [@mujadded](https://twitter.com/mujadded)\n* Github: [@mujadded](https://github.com/mujadded)\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n## Contributions\n\nContributions are most welcome 😍\n\n***\n_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmujadded%2Ffacebook_scrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmujadded%2Ffacebook_scrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmujadded%2Ffacebook_scrapper/lists"}