Facebook Scraper Pro (Rental) avatar
Facebook Scraper Pro (Rental)

Pricing

$25.00/month + usage

Go to Store
Facebook Scraper Pro (Rental)

Facebook Scraper Pro (Rental)

Developed by

Alien Force

Alien Force

Maintained by Community

Facebook Scraper Pro is a powerful Apify actor for extracting Facebook data. It includes: Search Scraper (finds posts by keyword), Profiles Scraper (scrapes profile info & posts), Posts Scraper (extracts posts by URL), and Comments Scraper (collects comments from posts). 🚀

0.0 (0)

Pricing

$25.00/month + usage

1

Total users

11

Monthly users

3

Runs succeeded

>99%

Last modified

4 hours ago

Facebook Scraper Pro

Facebook Scraper Pro is a powerful Apify actor designed to extract data from Facebook efficiently. It offers multiple scraping functions to gather data from Facebook searches, profiles, posts, and comments. Below is a detailed guide to help you understand and use this actor effectively.

Key Features

  1. Facebook Search Scraper: Searches for specific keywords on Facebook and returns relevant posts.
  2. Facebook Profiles Scraper: Extracts detailed information from Facebook profiles, including ID, name, friends count, likes count, location, gender, profile avatar, birthday, and profile posts.
  3. Facebook Posts Scraper: Scrapes data from specific Facebook posts, including text, likes, comments, shares, and media.
  4. Facebook Comments Scraper: Extracts comments from specific Facebook posts, including comment text, likes, replies, and author details.

Important Notes

  • Actor Function: Specifies the scraping function to use (facebook_search_scraper, facebook_profiles_scraper, facebook_posts_scraper, facebook_comments_scraper).
  • Rate Limiting: Use appropriate min_wait_time_in_sec and max_wait_time_in_sec to avoid blocking.
  • Data Limits: Use the results_limit parameter to control the amount of data scraped.

Input Schema

The input schema for the Facebook Scraper Pro actor is as follows:

{
// enum for "function" ["facebook_search_scraper", "facebook_profiles_scraper", "facebook_posts_scraper", "facebook_comments_scraper"]
"function": "facebook_search_scraper",
"filter_by_recent_posts": true, // used in facebook_search_scraper
"keyword": "BBC", // used in facebook_search_scraper
"results_limit": 5, // limit number of posts or comments returned
"min_wait_time_in_sec": 2, // minimum seconds to wait for each cursor.
"max_wait_time_in_sec": 6, // maximum seconds to wait for each cursor.
"cookies": [], // Optional Facebook user account cookies for improved scraping reliability and maintainability.
"profile_urls": [
// used in facebook_profiles_scraper
{
"url": "https://www.facebook.com/profile.php?id=61568555420777",
"method": "GET"
}
],
"post_urls": [
// used in facebook_posts_scraper
{
"url": "https://www.facebook.com/watch/?v=918725866988227",
"method": "GET"
}
],
"post_urls_for_comments": [
// used in facebook_comments_scraper
{
"url": "https://www.facebook.com/watch/?v=918725866988227",
"method": "GET"
}
],
"proxy": {
"useApifyProxy": false
}
}

Output Schema

Facebook Search Scraper, Facebook Profiles Scraper, Facebook Posts Scraper

{
// "author" only exists in Facebook Profile Scraper Responses
"author": {
"user_name": "Chief&Chill",
"user_id": "61568555420777",
"user_url": "https://www.facebook.com/profile.php?id=61568555420777",
"avatar": "",
"followers_count": "37K",
"friends_count": null,
"likes_count": "750",
"following_count": null,
"location": null,
"gender": "UNKNOWN",
"birthday": null
},
"post_id": "122118274184618514",
"action_id": "ZmVlZGJhY2s6MTIyMTE4Mjc0MTg0NjE4NTE0",
"text": "No Man Sky !!\nCredits @qballgamingYT\n#gamingcommunity\n#gaming\n#besttime\n#funnymoments",
"create_time": 1737231816,
"post_url": "https://www.facebook.com/61568555420777/videos/8940928369328022/",
"like_count": 47,
"comment_count": 0,
"share_count": 2,
"view_count": 1964,
"play_count": 1964,
"image_list": [
"https://scontent.fcai20-4.fna.fbcdn.net/v/t15.5256-10/474137285_1138250114409447_198125051461864149_n.jpg?_nc_cat=107&ccb=1-7&_nc_sid=c3bc4c&_nc_ohc=hrAmxznlAVwQ7kNvgFHbljI&_nc_oc=Adg7yoZY4FAnE2PNwR2qxiuwdEuLN6mpnJWUgJe2UsoMXb4rt-oMcrn3UzAMIlvzz50&_nc_zt=23&_nc_ht=scontent.fcai20-4.fna&_nc_gid=AQCDsHDr6F_IzXngoGGdnVG&oh=00_AYAuVuEf_19hOkBwUwCsRnLRsJXlr2MmDVQMLX3icRUKug&oe=67BEEF78"
],
"video_list": [
"https://video.fcai20-5.fna.fbcdn.net/o1/v/t2/f2/m69/AQNjyKYvh1l1LWiT9PWkVkCmCb6TotkS_2R7X-4AlcLRCPdZf1w_FgekTYuiqnRDnOMIkczohTidJQQeDU6cfSKP.mp4?efg=eyJ4cHZfYXNzZXRfaWQiOjExNDg4NDI3OTM1NTY0MDgsInZlbmNvZGVfdGFnIjoieHB2X3Byb2dyZXNzaXZlLkZBQ0VCT09LLi5DMy40ODAuZGFzaF9oMjY0LWJhc2ljLWdlbjJfNzIwcCJ9&_nc_ht=video.fcai20-5.fna.fbcdn.net&_nc_cat=106&strext=1&vs=22a68dce03cf89&_nc_vs=HBksFQIYOnBhc3N0aHJvdWdoX2V2ZXJzdG9yZS9HTmswUUJ4MUZxRzBmVzBEQUhYS015NWs3QjVfYm1kakFBQUYVAALIAQAVAhg6cGFzc3Rocm91Z2hfZXZlcnN0b3JlL0dIQnlRUnl0SWFnQ3FYVURBTjNDaUF6Vk1SdzVickZxQUFBRhUCAsgBACgAGAAbAogHdXNlX29pbAExEnByb2dyZXNzaXZlX3JlY2lwZQExFQAAJvDm5um5t4oEFQIoAkMzLBdANPqfvnbItBgZZGFzaF9oMjY0LWJhc2ljLWdlbjJfNzIwcBEAdQIA&ccb=9-4&oh=00_AYDHmGL0p-IORq9qJ4SVNrZF7nlri9HjBW6ZE0ZJHkM7iA&oe=67BAEFF0&_nc_sid=1d576d"
],
"video_cover_image": [
"https://scontent.fcai20-4.fna.fbcdn.net/v/t15.5256-10/474137285_1138250114409447_198125051461864149_n.jpg?_nc_cat=107&ccb=1-7&_nc_sid=cb5bf7&_nc_ohc=hrAmxznlAVwQ7kNvgFHbljI&_nc_oc=Adg7yoZY4FAnE2PNwR2qxiuwdEuLN6mpnJWUgJe2UsoMXb4rt-oMcrn3UzAMIlvzz50&_nc_zt=23&_nc_ht=scontent.fcai20-4.fna&_nc_gid=AQCDsHDr6F_IzXngoGGdnVG&oh=00_AYAuVuEf_19hOkBwUwCsRnLRsJXlr2MmDVQMLX3icRUKug&oe=67BEEF78"
],
"durationInSec": [21],
"type": "video",
"author_username": "Chief&Chill",
"author_user_id": "61568555420777",
"author_profile_url": "https://www.facebook.com/profile.php?id=61568555420777",
"author_avatar": ""
}

Facebook Comments Scraper

{
"action_id": "ZmVlZGJhY2s6OTAyOTM5NjE2MzgxODE1N185MDI5NDA2MTUzODE3MTU4",
"comment_id": "9029406153817158",
"gender": "FEMALE",
"author_user_id": "100009355176494",
"author_username": "Lillian Mamdouh",
"author_profile_url": "https://www.facebook.com/lillian.mamdouh.7",
"author_avatar": "",
"text": "Up",
"like_count": 0,
"reply_count": 0,
"create_time": 1738101623,
"image_list": [],
"video_list": [],
"video_cover_image": [],
"post": {
"post_id": "9029396163818157",
"post_url": "https://www.facebook.com/groups/5958702877554183/posts/9029396163818157/",
"author_user_id": "pfbid036cJegrwq7rXF3Le6BCGDZd8nwuGw31mwx2smn8go2sbjRe23PocViB4H7DW4VgQ6l",
"author_username": "Perihan Sameh",
"author_profile_url": null,
"author_avatar": ""
},
"input": "https://www.facebook.com/groups/5958702877554183/posts/9029396163818157/"
}