# Changelog of Facebook Page Details & Contact Scraper (`dataji/facebook-page-contact-scraper`) Actor

- **URL**: https://apify.com/dataji/facebook-page-contact-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/dataji/facebook-page-contact-scraper.md

## Changelog

### 0.3 (18 Nov 2026)

Lead-generation release. Every 0.2 input and output key is kept; new ones are only added. The `page`
event and its prices are unchanged, there is still no start fee, and error rows stay free.

- **Page transparency add-on** (`includeTransparency`, off by default): one extra logged-out request to
  `<page>/about_profile_transparency` on the same proxy session as the page. New fields `createdAt` (ISO
  date), `createdAtText`, `runningAds`, `adStatusText`; `confirmedOwner` is filled from it when the page
  shows none. Fields are found by their `field_type` key, not by visible labels. New event
  `transparency`, charged only for delivered page rows where the data was returned.
- **Ad Library link** (`adLibraryUrl`) for every page with a page id, free, add-on or not. Built, never
  fetched (the Ad Library answers logged-out visitors with a bot check).
- **Business websites as input**: `startUrls` (and uploaded files) accept websites and bare domains. The
  actor loads the homepage (then a contact or about page) and takes the Facebook Page link, ignoring share
  buttons, plugins, the pixel, groups, events, posts, `2008/fbml`, personal-looking profiles, and
  `profile.php?id=` links unless they are the only one. New fields `inputWebsite`, `pageFoundVia`; a site
  without a Page link gives a free `noFacebookPage` row; a Page found from several inputs is delivered
  once. Website loads are free, at most 3 per site, 10 s timeout, through Apify datacenter proxy.
- **Uploaded files**: Google Maps, image and file links in an uploaded file are skipped and counted instead
  of becoming `invalidInput` rows; header lines such as `website` are ignored; bare domains in any CSV
  column are read.
- **Find email on website add-on** (`findEmailOnWebsite`, off by default): for pages with no Facebook
  email but a website, reads the homepage and at most 2 contact pages (shared 3-load budget per site, pages
  reused from the website lookup). New fields `websiteEmail`, `emailSource` (`facebook` or `website`),
  `websitePhones`. When Facebook shows no email, `email` holds the website email. New event
  `website-email`, charged only when an email was found and delivered.
- **Free email flags** for every email: `emailDomainMatchesWebsite`, `isRoleEmail`, `isFreeMailEmail`.
- **Lead filters** (`onlyWithEmail`, `onlyWithPhone`, `onlyWithoutWebsite`, `onlyBusinesses`, all off by
  default): pages that don't match are pushed as free `filteredOut` rows without page data, never charged,
  and get no add-on requests. The email filter runs after the website email lookup.
- **Free extra fields** from the page already fetched: `pageType` (`business` or `other`), `priceLevel`
  (1-4, the same in every country), address parts `street`, `city`, `region`, `postalCode` (US, CA, UK and
  AU patterns only, else null), the latest post's `latestPostText`, `reactionCount`, `commentCount`,
  `shareCount`, `lastPostAt`, `daysSinceLastPost`, `activityStatus` (active < 30 days, stale < 180,
  dormant), and `inputIndex`. `recentPosts` items gain `text` and the three counts.
- **RUN_SUMMARY** record in the default key-value store: counts per error code, filtered, duplicates,
  skipped file links, add-ons delivered, and a plain hint per error code seen.
- **`residentialCountry`** input (default `US`) for the automatic residential last retry.
- Billing: spending-limit room is reserved for the page plus every add-on turned on. Add-on charges are
  made after the row is pushed, recorded in `RUN_STATE` first and sent with an idempotency key, so a
  restart never charges them twice. Page and website claims in `RUN_STATE` record which input owns them,
  so an input redone after a restart is not mistaken for its own duplicate.
  An input whose row was being pushed when the run stopped is recorded in `RUN_STATE` and is never
  pushed or charged a second time after the restart.
- Dataset views **Lead list** and **Transparency & activity**; the Errors view shows `inputIndex` and
  `inputWebsite`. Store README: no start fee up front, website and Google Maps examples, add-on prices,
  logged-out limits FAQ, updated comparison and field tables.
- Tests: 350, all offline (new fixtures: 4 trimmed transparency captures, 4 business homepages).

### 0.2 (18 Nov 2026)

First public release on the Apify Store.

- Automatic residential fallback: with the default proxy (Apify datacenter), a page that is still blocked
  after its datacenter retries gets its final retry on Apify residential proxy (US). Each page still gets
  at most 3 attempts. A proxy the user chooses is used exactly as chosen. Login walls, checkpoints and
  not-found answers are never retried on residential.
- The status message, run summary and log say how many pages needed the residential proxy; the count
  survives migrations (`RUN_STATE`). The final log line also gives residential requests and MB.
- `blocked` error rows say when the last try was already residential. They stay free.
- Final pay-per-event prices for the `page` event: $3.00 Free, $2.60 Bronze, $2.30 Silver, $2.00 Gold per
  1,000 pages. Store README: price table, cost examples and a comparison with the official Facebook
  Pages Scraper; no more advice to switch to residential by hand.
- Shorter Store card description (under 160 characters).
- Tests: 158 (fallback attempts and sessions, default-proxy detection, residential counting, README prices).

### 0.1 (17 Nov 2026)

- Logged-out Facebook Page details and contacts: email, phone with E.164, address with coordinates,
  website, social links, category, followers, rating, opening status, recent post links, contact
  completeness score. One `page` event per page row; error rows are free. Default proxy Apify datacenter.
