
Facebook Ads Library Scraper ๐ฏ๐ - Fast & cheap ๐ฌโญ
Pricing
$18.99/month + usage

Facebook Ads Library Scraper ๐ฏ๐ - Fast & cheap ๐ฌโญ
๐ Extract Facebook (Meta) Ads Data ๐ from one or multiple Pages! Gather page details, reach estimates, impressions, ad IDs, and more ๐ . Download in JSON, CSV, or Excel formats ๐ฝ for seamless integration into apps, spreadsheets, and reports. Perfect for analysis and insights ๐๐ป.
5.0 (3)
Pricing
$18.99/month + usage
16
Total users
253
Monthly users
76
Runs succeeded
>99%
Issues response
0.38 hours
Last modified
5 days ago
publisher_platforms string is iterated into individual characters
Closed
Description
sql
Kopiรฉr
Rediger
What happened
When I set "publisher_platforms": "facebook"
in the input JSON, the scraperโs logs show:
โฆ&publisher_platform=f,a,c,e,b,o,o,kโฆ
yaml Kopiรฉr Rediger
instead of the expected:
โฆ&publisher_platform=facebookโฆ
csharp Kopiรฉr Rediger
Because the code treats the string as an iterable and pushes each character, no valid platform is matched and zero ads are returned.
What I expected
Passing "publisher_platforms": "facebook"
should result in a single query parameter publisher_platform=facebook
, returning only Facebook ads.
Reproduction steps
- Run actor with input:
{"active_status": "active","ad_type": "all","country_name": "United Kingdom GB","keyword": "real estate","maxitems": 3,"media_type": "all","publisher_platforms": "facebook","start_date_min": "2025-03-05","start_date_max": "2025-03-18"}
Observe the run logs: publisher_platform=f,a,c,e,b,o,o,k
No ads are returned.
Suggested fix In the request-building code, wrap input.publisher_platforms into an array if itโs a string:
js Kopiรฉr Rediger const platforms = Array.isArray(input.publisher_platforms) ? input.publisher_platforms : [input.publisher_platforms]; for (const p of platforms) { params.publisher_platform.push(p); }

Thanks for reaching out ! Got it
siralogic
Can you let me know when it will be working?

It works perfectly. Please see the last comment on the other issue section you created. Thanks