
Facebook Scraper Pro
Pay $6.00 for 1,000 results

Facebook Scraper Pro
Pay $6.00 for 1,000 results
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). 🚀
You can access the Facebook Scraper Pro programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1{
2 "openapi": "3.0.1",
3 "info": {
4 "version": "0.0",
5 "x-build-id": "izhfmaYwSdSr9t6UJ"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/alien_force~facebook-scraper-pro/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-alien_force-facebook-scraper-pro",
16 "x-openai-isConsequential": false,
17 "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18 "tags": [
19 "Run Actor"
20 ],
21 "requestBody": {
22 "required": true,
23 "content": {
24 "application/json": {
25 "schema": {
26 "$ref": "#/components/schemas/inputSchema"
27 }
28 }
29 }
30 },
31 "parameters": [
32 {
33 "name": "token",
34 "in": "query",
35 "required": true,
36 "schema": {
37 "type": "string"
38 },
39 "description": "Enter your Apify token here"
40 }
41 ],
42 "responses": {
43 "200": {
44 "description": "OK"
45 }
46 }
47 }
48 },
49 "/acts/alien_force~facebook-scraper-pro/runs": {
50 "post": {
51 "operationId": "runs-sync-alien_force-facebook-scraper-pro",
52 "x-openai-isConsequential": false,
53 "summary": "Executes an Actor and returns information about the initiated run in response.",
54 "tags": [
55 "Run Actor"
56 ],
57 "requestBody": {
58 "required": true,
59 "content": {
60 "application/json": {
61 "schema": {
62 "$ref": "#/components/schemas/inputSchema"
63 }
64 }
65 }
66 },
67 "parameters": [
68 {
69 "name": "token",
70 "in": "query",
71 "required": true,
72 "schema": {
73 "type": "string"
74 },
75 "description": "Enter your Apify token here"
76 }
77 ],
78 "responses": {
79 "200": {
80 "description": "OK",
81 "content": {
82 "application/json": {
83 "schema": {
84 "$ref": "#/components/schemas/runsResponseSchema"
85 }
86 }
87 }
88 }
89 }
90 }
91 },
92 "/acts/alien_force~facebook-scraper-pro/run-sync": {
93 "post": {
94 "operationId": "run-sync-alien_force-facebook-scraper-pro",
95 "x-openai-isConsequential": false,
96 "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97 "tags": [
98 "Run Actor"
99 ],
100 "requestBody": {
101 "required": true,
102 "content": {
103 "application/json": {
104 "schema": {
105 "$ref": "#/components/schemas/inputSchema"
106 }
107 }
108 }
109 },
110 "parameters": [
111 {
112 "name": "token",
113 "in": "query",
114 "required": true,
115 "schema": {
116 "type": "string"
117 },
118 "description": "Enter your Apify token here"
119 }
120 ],
121 "responses": {
122 "200": {
123 "description": "OK"
124 }
125 }
126 }
127 }
128 },
129 "components": {
130 "schemas": {
131 "inputSchema": {
132 "type": "object",
133 "properties": {
134 "cookies": {
135 "title": "Cookies",
136 "type": "array",
137 "description": "1. Install the Cookie-Editor Chrome extension.\n2. Log in to your Facebook account.\n3. Open the Cookie-Editor extension and export cookies as JSON for facebook.com.\n4. Paste the exported cookie contents here.",
138 "default": []
139 },
140 "function": {
141 "title": "Select what function to work with",
142 "enum": [
143 "facebook_search_scraper",
144 "facebook_profiles_scraper",
145 "facebook_posts_scraper",
146 "facebook_comments_scraper"
147 ],
148 "type": "string",
149 "description": "Select what function to work with this actor.",
150 "default": "facebook_posts_scraper"
151 },
152 "facebook_search_scraper_section": {
153 "title": "",
154 "type": "object",
155 "description": ""
156 },
157 "keyword": {
158 "title": "Keyword",
159 "type": "string",
160 "description": "Provide a keyword to search in Facebook posts.",
161 "default": "BBC"
162 },
163 "filter_by_recent_posts": {
164 "title": "Filter By Recent",
165 "type": "boolean",
166 "description": "When selected, newer posts will be fetched first.",
167 "default": false
168 },
169 "facebook_profiles_scraper_section": {
170 "title": "",
171 "type": "object",
172 "description": ""
173 },
174 "profile_urls": {
175 "title": "Profile Urls",
176 "type": "array",
177 "description": "Add Facebook profile urls to scrape posts",
178 "items": {
179 "type": "object",
180 "required": [
181 "url"
182 ],
183 "properties": {
184 "url": {
185 "type": "string",
186 "title": "URL of a web page",
187 "format": "uri"
188 }
189 }
190 }
191 },
192 "facebook_posts_scraper": {
193 "title": "",
194 "type": "object",
195 "description": ""
196 },
197 "post_urls": {
198 "title": "Post Urls",
199 "type": "array",
200 "description": "Add Facebook post urls to scrape posts",
201 "items": {
202 "type": "object",
203 "required": [
204 "url"
205 ],
206 "properties": {
207 "url": {
208 "type": "string",
209 "title": "URL of a web page",
210 "format": "uri"
211 }
212 }
213 }
214 },
215 "facebook_comments_scraper": {
216 "title": "",
217 "type": "object",
218 "description": ""
219 },
220 "post_urls_for_comments": {
221 "title": "Post Urls For Comments",
222 "type": "array",
223 "description": "Add Facebook post urls to scrape posts comments",
224 "items": {
225 "type": "object",
226 "required": [
227 "url"
228 ],
229 "properties": {
230 "url": {
231 "type": "string",
232 "title": "URL of a web page",
233 "format": "uri"
234 }
235 }
236 }
237 },
238 "options": {
239 "title": "",
240 "type": "object",
241 "description": ""
242 },
243 "results_limit": {
244 "title": "Limit",
245 "type": "integer",
246 "description": "Limit number of results",
247 "default": 5
248 },
249 "min_wait_time_in_sec": {
250 "title": "Minimum Seconds Awaited",
251 "minimum": 0,
252 "maximum": 2,
253 "type": "integer",
254 "description": "Minimum seconds to wait for each cursor.",
255 "default": 2
256 },
257 "max_wait_time_in_sec": {
258 "title": "Maximum Seconds Awaited",
259 "minimum": 3,
260 "maximum": 6,
261 "type": "integer",
262 "description": "Maximum seconds to wait for each cursor.",
263 "default": 6
264 }
265 }
266 },
267 "runsResponseSchema": {
268 "type": "object",
269 "properties": {
270 "data": {
271 "type": "object",
272 "properties": {
273 "id": {
274 "type": "string"
275 },
276 "actId": {
277 "type": "string"
278 },
279 "userId": {
280 "type": "string"
281 },
282 "startedAt": {
283 "type": "string",
284 "format": "date-time",
285 "example": "2025-01-08T00:00:00.000Z"
286 },
287 "finishedAt": {
288 "type": "string",
289 "format": "date-time",
290 "example": "2025-01-08T00:00:00.000Z"
291 },
292 "status": {
293 "type": "string",
294 "example": "READY"
295 },
296 "meta": {
297 "type": "object",
298 "properties": {
299 "origin": {
300 "type": "string",
301 "example": "API"
302 },
303 "userAgent": {
304 "type": "string"
305 }
306 }
307 },
308 "stats": {
309 "type": "object",
310 "properties": {
311 "inputBodyLen": {
312 "type": "integer",
313 "example": 2000
314 },
315 "rebootCount": {
316 "type": "integer",
317 "example": 0
318 },
319 "restartCount": {
320 "type": "integer",
321 "example": 0
322 },
323 "resurrectCount": {
324 "type": "integer",
325 "example": 0
326 },
327 "computeUnits": {
328 "type": "integer",
329 "example": 0
330 }
331 }
332 },
333 "options": {
334 "type": "object",
335 "properties": {
336 "build": {
337 "type": "string",
338 "example": "latest"
339 },
340 "timeoutSecs": {
341 "type": "integer",
342 "example": 300
343 },
344 "memoryMbytes": {
345 "type": "integer",
346 "example": 1024
347 },
348 "diskMbytes": {
349 "type": "integer",
350 "example": 2048
351 }
352 }
353 },
354 "buildId": {
355 "type": "string"
356 },
357 "defaultKeyValueStoreId": {
358 "type": "string"
359 },
360 "defaultDatasetId": {
361 "type": "string"
362 },
363 "defaultRequestQueueId": {
364 "type": "string"
365 },
366 "buildNumber": {
367 "type": "string",
368 "example": "1.0.0"
369 },
370 "containerUrl": {
371 "type": "string"
372 },
373 "usage": {
374 "type": "object",
375 "properties": {
376 "ACTOR_COMPUTE_UNITS": {
377 "type": "integer",
378 "example": 0
379 },
380 "DATASET_READS": {
381 "type": "integer",
382 "example": 0
383 },
384 "DATASET_WRITES": {
385 "type": "integer",
386 "example": 0
387 },
388 "KEY_VALUE_STORE_READS": {
389 "type": "integer",
390 "example": 0
391 },
392 "KEY_VALUE_STORE_WRITES": {
393 "type": "integer",
394 "example": 1
395 },
396 "KEY_VALUE_STORE_LISTS": {
397 "type": "integer",
398 "example": 0
399 },
400 "REQUEST_QUEUE_READS": {
401 "type": "integer",
402 "example": 0
403 },
404 "REQUEST_QUEUE_WRITES": {
405 "type": "integer",
406 "example": 0
407 },
408 "DATA_TRANSFER_INTERNAL_GBYTES": {
409 "type": "integer",
410 "example": 0
411 },
412 "DATA_TRANSFER_EXTERNAL_GBYTES": {
413 "type": "integer",
414 "example": 0
415 },
416 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
417 "type": "integer",
418 "example": 0
419 },
420 "PROXY_SERPS": {
421 "type": "integer",
422 "example": 0
423 }
424 }
425 },
426 "usageTotalUsd": {
427 "type": "number",
428 "example": 0.00005
429 },
430 "usageUsd": {
431 "type": "object",
432 "properties": {
433 "ACTOR_COMPUTE_UNITS": {
434 "type": "integer",
435 "example": 0
436 },
437 "DATASET_READS": {
438 "type": "integer",
439 "example": 0
440 },
441 "DATASET_WRITES": {
442 "type": "integer",
443 "example": 0
444 },
445 "KEY_VALUE_STORE_READS": {
446 "type": "integer",
447 "example": 0
448 },
449 "KEY_VALUE_STORE_WRITES": {
450 "type": "number",
451 "example": 0.00005
452 },
453 "KEY_VALUE_STORE_LISTS": {
454 "type": "integer",
455 "example": 0
456 },
457 "REQUEST_QUEUE_READS": {
458 "type": "integer",
459 "example": 0
460 },
461 "REQUEST_QUEUE_WRITES": {
462 "type": "integer",
463 "example": 0
464 },
465 "DATA_TRANSFER_INTERNAL_GBYTES": {
466 "type": "integer",
467 "example": 0
468 },
469 "DATA_TRANSFER_EXTERNAL_GBYTES": {
470 "type": "integer",
471 "example": 0
472 },
473 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
474 "type": "integer",
475 "example": 0
476 },
477 "PROXY_SERPS": {
478 "type": "integer",
479 "example": 0
480 }
481 }
482 }
483 }
484 }
485 }
486 }
487 }
488 }
489}
Facebook Scraper Pro OpenAPI definition
OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for Facebook Scraper Pro from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients:
Actor Metrics
2 monthly users
-
1 bookmark
>99% runs succeeded
Created in Feb 2025
Modified 14 hours ago