# How to Scrape Facebook Business Pages from Search in 2024 [No-Code]

> In this article, we’ll learn how to scrape Facebook business pages from Facebook search, using keywords in 2024. No coding required. Totally for free.

- **Author**: Shehriar Awan
- **Published**: 2024-03-21 (21 Mar 2024)
- **Reading time**: 7 min
- **Canonical**: https://www.lobstr.io/blog/scrape-facebook-business-pages-no-code

---

Imagine you’ve a list of keywords and you have to **collect Facebook business pages from those keywords** along with metadata. Doing it manually would take ages.

![scrape facebook pages from search - image10.png](https://d37gzvgyugjozl.cloudfront.net/scrape_facebook_pages_from_search_image10_d213c44c6f.png "width=1607;height=919")

[Scrape Facebook business pages from search for free](https://www.lobstr.io/store/facebook-pages-search-export)

You can do it programmatically by **coding a data scraping tool**. But not everyone is a pro coder and even for pros, Facebook’s consistently changing structure is a challenge.

![facebook html code - image15.png](https://d37gzvgyugjozl.cloudfront.net/facebook_html_code_image15_2060538395.png "width=1890;height=848")

In this article, we’re going to learn **how to scrape Facebook business pages** from any search keyword, **without coding** and just using a search URL.

But why would I need to scrape them? Let’s explore some use cases.

## Why Scrape Facebook business pages?

Facebook is still the world's [most popular social media](https://www.similarweb.com/website/facebook.com/) platform. More than [200 million businesses](https://www.socialpilot.co/facebook-marketing/facebook-statistics#:~:text=More%20than%20200%20million%20businesses%20use%20Meta) use it every month.

![facebook similarweb stats - image17.png](https://d37gzvgyugjozl.cloudfront.net/facebook_similarweb_stats_image17_aca43fa29e.png "width=1476;height=623")

Getting access to this data goldmine can help in:

* Market Research
* Lead Generation
* Targeted Outreach
* Business Directory Creation
* Influencer Marketing

But is it legal to scrape Facebook data?

## Is it legal to scrape Facebook business pages?

The answer is not straightforward. To give you better understanding of **legality of Facebook data scraping**, let’s break down this question into two parts:

* Does Facebook allow data scraping?
* Is it legal to scrape data from Facebook?

The answer to the first question is no. **Facebook doesn’t allow web scraping**. They clearly state web scraping is a [violation of Facebook’s terms](https://about.fb.com/news/2021/04/how-we-combat-scraping/).

![facebook against scraping - image24.png](https://d37gzvgyugjozl.cloudfront.net/facebook_against_scraping_image24_3793f663e9.png "width=810;height=232")

So does this mean scraping Facebook data is illegal? Well, Facebook did file a [lawsuit against an Israeli firm BrandTotal](https://www.courthousenews.com/judge-rules-brandtotals-data-harvesting-violates-metas-terms-of-use-and-anti-hacking-laws/) for **collecting users’ personal information**.

![meta vs brandtotal lawsuit - image22.png](https://d37gzvgyugjozl.cloudfront.net/meta_vs_brandtotal_lawsuit_image22_8857ebd79a.png "width=821;height=189")

BrandTotal’s product UpVoice – a chrome extension that collected Facebook ads data was secretly also collecting users’ personal information. You can [read more about the case here](https://www.govinfo.gov/app/details/USCOURTS-cand-3_20-cv-07182).

In short, BranTotal agreed that they would update their product and not collect personal data. This resulted in a settlement between Meta and BrandTotal.

![meta v brandtotal agreement - image2.png](https://d37gzvgyugjozl.cloudfront.net/meta_v_brandtotal_agreement_image2_fe4899a7a4.png "width=819;height=185")

Collecting personal information of users without consent is not only ethically wrong but also illegal. But does this make scraping public data illegal too?

If you study this case and another case referred during proceedings i.e. [LinkedIn vs HiQ Labs](https://techcrunch.com/2022/04/18/web-scraping-legal-court/), it’s clear that scraping publicly available data is fully legal.

![linkedin vs hiq - image16.png](https://d37gzvgyugjozl.cloudfront.net/linkedin_vs_hiq_image16_4e783477dd.png "width=972;height=462")

Facebook itself has defined what’s public information and what’s private data in [its help center](https://www.facebook.com/help/1297502253597210?helpref=hc_fnav). This also includes pages, groups, content you post on pages and groups.

![what is public data fb - image6.png](https://d37gzvgyugjozl.cloudfront.net/what_is_public_data_fb_image6_c4a06210e8.png "width=835;height=743")

Since business pages are Publicly available data, you don’t need a logged in account to view that information, **it’s completely legal to scrape Facebook pages**.

For more information regarding legality of web scraping, you can check the [legal category in Lobstr blog](https://www.lobstr.io/blog/category/legal).

But is there no official API to get the data I need?

## Does Facebook have any API?

Yes, Facebook does offer [GraphAPI](https://developers.facebook.com/docs/graph-api/) for collecting data. But just like any other official APIs, **it has limitations**, making it useless for collecting data at scale.

* Long review process
* Rate limits
* Too complicated to work with

> I’ve already covered all about Facebook API in my previous article – [How to Scrape Facebook Pages in 2024 [No-Code]](https://www.lobstr.io/blog/scrape-facebook-pages-no-code)

Now let’s address the real elephant 🐘 in the room.

## How to scrape Facebook business pages from search without coding

The best way to scrape Facebook pages for non-techies is – **using no-code Facebook page scrapers**. So we’re going to use [Facebook Pages Search Export](https://www.lobstr.io/store/facebook-pages-search-export), the best one in the market.

![facebook pages search export - image12.png](https://d37gzvgyugjozl.cloudfront.net/facebook_pages_search_export_image12_dee5a8f412.png "width=1043;height=925")

[Scrape Facebook business pages from search for free](https://www.lobstr.io/store/facebook-pages-search-export)

### Cool features

* 12 key data points
* Cloud-based, no install required
* 10 results per minute
* Schedule feature
* Direct export to Google Sheets and Amazon S3
* Developer-friendly API

### Pricing

![lobstr pricing - image23.png](https://d37gzvgyugjozl.cloudfront.net/lobstr_pricing_image23_a5b7b7e1fe.png "width=1484;height=663")

* **Free plan**: 4500 results per month
* **Premium plan**: €0.93 per 1k results
* **Business plan**: €0.58 per 1k results
* **Enterprise plan**: €0.46 per 1k results

## Scraping Facebook business pages from search using Lobstr.io - Step by step guide

It literally takes 2 minutes to scrape all pages from any Facebook search query. We’ll do it in **6 simple and easy steps**.

1. Get search URL
2. Create Squid
3. Sync Account & Add tasks
4. Adjust behavior
5. Launch
6. Enjoy

Let’s go!! 💨

### Step 1 - Get search URL(s)

With Lobstr, **you only need a search URL as input**. To get the search link, go to Facebook.com, search a keyword, select pages, and copy the URL.

For this tutorial, let’s search for business pages of accountants in New York.

![get facebook search url - image21.png](https://d37gzvgyugjozl.cloudfront.net/get_facebook_search_url_image21_fad6c26f1a.png "width=1813;height=978")

Here goes our URL:

[https://www.facebook.com/search/pages?q=accountants&filters=eyJmaWx0ZXJfcGFnZXNfbG9jYXRpb246MCI6IntcIm5hbWVcIjpcImZpbHRlcl9wYWdlc19sb2NhdGlvblwiLFwiYXJnc1wiOlwiMTA4NDI0Mjc5MTg5MTE1XCJ9IiwiY2F0ZWdvcnk6MCI6IntcIm5hbWVcIjpcInBhZ2VzX2NhdGVnb3J5XCIsXCJhcmdzXCI6XCIxMDEzXCJ9In0%3D](https://www.facebook.com/search/pages?q=accountants&filters=eyJmaWx0ZXJfcGFnZXNfbG9jYXRpb246MCI6IntcIm5hbWVcIjpcImZpbHRlcl9wYWdlc19sb2NhdGlvblwiLFwiYXJnc1wiOlwiMTA4NDI0Mjc5MTg5MTE1XCJ9IiwiY2F0ZWdvcnk6MCI6IntcIm5hbWVcIjpcInBhZ2VzX2NhdGVnb3J5XCIsXCJhcmdzXCI6XCIxMDEzXCJ9In0%3D)

Now let’s go to Lobstr.io dashboard and launch our Facebook pages scraper.

### Step 2 - Create Squid

Next, login to your Lobstr.io account. Don’t have one? It’s free! Sign up now. Once logged in, click _Create a new Squid_ button.

![create facebook squid - image5.png](https://d37gzvgyugjozl.cloudfront.net/create_facebook_squid_image5_2c6c6cfdd5.png "width=1318;height=551")

[Get started for free](https://app.lobstr.io/auth/sign-up)

Then search ‘facebook pages’ and select Facebook Pages Search Export squid. That’s it. We just created our _Squid_.

### Step 3 -  Sync account & Add tasks

Next you’ll be asked to sync your Facebook account. You can do it by installing [Lobstr Account Sync Add-on](https://chromewebstore.google.com/detail/lobstrio-account-sync/mdjpjmgchdoonhhdendikfkifmeifkjh). You can install it from the Google Chrome Webstore.

![lobstr chrome extension - image18.png](https://d37gzvgyugjozl.cloudfront.net/lobstr_chrome_extension_image18_66b4c75fbf.png "width=1425;height=799")

Install the Add-on, and click _Yes I want to sync_ button on your Lobstr dashboard. This will automatically sync your Facebook account to Lobstr safely. No login credentials needed.

![sync fb account - image4.png](https://d37gzvgyugjozl.cloudfront.net/sync_fb_account_image4_b116557d42.png "width=625;height=455")

> **Why sync my account?** Although Facebook shows pages without login, to extract data, you’ll have to login. That’s why we need you to sync your account, for seamless data extraction.

Once synced, click _Save_ and the next option is _Add tasks_.

Here we’ll paste the search URL we copied from Facebook. You can also add multiple URLs. Got hundreds of them? No worries, [use Upload file option](https://lobstr.crisp.help/en/article/how-to-upload-a-list-of-tasks-iv9pu0/) to import them with a single click.

![add tasks - image13.png](https://d37gzvgyugjozl.cloudfront.net/add_tasks_image13_a0588f0805.png "width=1040;height=716")

Now let’s tweak some settings to adjust our crawler’s behavior. Click _Save_ and move to the next step.

### Step 4 - Adjust behavior

In basic settings, you get to choose _when to end the run_. This option is useful if you’ve got **thousands of tasks** and limited daily credits.

![when to end run - image7.png](https://d37gzvgyugjozl.cloudfront.net/when_to_end_run_image7_a6ed0574c5.png "width=386;height=212")


With the _when to end run_ option, you can [use your daily credits across multiple days](https://lobstr.crisp.help/en/article/how-to-use-your-daily-credits-across-multiple-days-1rcnf8c/).

Then we’ve got _concurrency_. Do you feel 10 results per minute is slow? You can **increase scraping speed up to 40x by increasing the concurrency**.

![set concurrency - image3.png](https://d37gzvgyugjozl.cloudfront.net/set_concurrency_image3_e55cbd8541.png "width=823;height=370")

Then we have 2 more options in advanced settings i.e.

* **Unique Results**: Removes duplicates for a streamlined output.
* **No Line Breaks**: Removes line breaks from text fields.

Next option is **Notifications**. You can opt to receive real-time notifications via email whenever a run completes successfully or when it pauses due to any error or some other reason.

![notification settings - image11.png](https://d37gzvgyugjozl.cloudfront.net/notification_settings_image11_e43da794ea.png "width=947;height=372")

Now let’s prepare to launch. 🚀

### Step 5 - Launch

Let's get this show on the road! Launch your crawler _Manually_ for instant data collection. Just click _Save & Extract_ and your Facebook scraper starts bringing the data for you.

![launch facebook scraper - image1.png](https://d37gzvgyugjozl.cloudfront.net/launch_facebook_scraper_image1_d0ef02bd07.png "width=1022;height=768")

But who wants to babysit their dashboard? That's where **scheduling** saves the day.  Choose _Repeatedly_, set your desired data-gathering schedule and relax.

![how to launch facebook scraper - image9.png](https://d37gzvgyugjozl.cloudfront.net/how_to_launch_facebook_scraper_image9_c93b78489e.png "width=831;height=583")

Pick your launch preference, hit _Save_, and voila! Your Facebook scraper is now on autopilot.

![facebook scraper live console - image8.png](https://d37gzvgyugjozl.cloudfront.net/facebook_scraper_live_console_image8_10644879ad.png "width=1920;height=922")

### Step 6 - Enjoy

You can view the collected data from Facebook pages in your dashboard by clicking the _Results_ tab. Once a job completes, you can **download the data as a csv file**.

![facebook scraper results live - image14.png](https://d37gzvgyugjozl.cloudfront.net/facebook_scraper_results_live_image14_d9f79877bc.png "width=1848;height=688")

Here’s how the data looks like in an Excel spreadsheet. You can convert csv to Excel easily by saving the `csv` file as `xlxs`.

![facebook scraper results downloaded - image20.png](https://d37gzvgyugjozl.cloudfront.net/facebook_scraper_results_downloaded_image20_96ed8966a9.png "width=1920;height=819")

Prefer Google Sheets? No need to manually import data to Google Sheets. You can use the Delivery option in your console to **export data directly to Google Sheets** and Amazon S3.

![lobstr delivery settings - image19.png](https://d37gzvgyugjozl.cloudfront.net/lobstr_delivery_settings_image19_38e5ff5db5.png "width=1011;height=845")

That’s it. We just scraped Facebook pages from search, without coding and without spending a single penny.

## FAQs

### Does this Facebook scraper collect business contact information?

Yes, you can collect addresses, phone numbers, and websites along with other Facebook page data.

### Can I scrape Facebook groups, Facebook posts, and Facebook profiles using this tool?

No, this web scraper only collects Facebook business pages data. You can not use it for posts, profiles, or groups scraping.

## Conclusion

That’s a wrap on how to scrape Facebook business pages from search without coding. You can try [Facebook Pages Search Export](https://www.lobstr.io/store/facebook-pages-search-export) for free. Do give it a test drive.

Also check out [our store for more no-code automations](https://www.lobstr.io/store). Didn’t find what you were looking for? You can [submit your ideas here](https://www.lobstr.io/ideas).

---

## Scrapers in this article

- [Facebook Pages Search Export](https://www.lobstr.io/store/facebook-pages-search-export): Scrape all Facebook Pages data from a Search URL and export it to googlesheet. #phone and @mail included! (1 credit per result)
- [Facebook Business Page Scraper](https://www.lobstr.io/store/facebook-business-page-scraper): Collect publicly available information from any Facebook business page — including email and phone when listed. (1 credit per result)

## Related articles

- [How to Scrape Tweets from Twitter (No Code) - 2026 Edition](https://www.lobstr.io/blog/scrape-tweets-without-coding)
- [How to Scrape Facebook Pages in 2024 [No-Code]](https://www.lobstr.io/blog/scrape-facebook-pages-no-code)
- [How to Scrape Twitter Search Results without coding [2024 Edition]](https://www.lobstr.io/blog/scrape-twitter-search-results)

Tags: Facebook, Web Scraping, Use Cases, Tutorials

_Canonical HTML: https://www.lobstr.io/blog/scrape-facebook-business-pages-no-code_

More for agents: https://www.lobstr.io/llms.txt, pricing in Markdown: https://www.lobstr.io/pricing.md
