Facebook Profile Scraper (Private & Public) avatar

Facebook Profile Scraper (Private & Public)

Try for free

3 days trial then $15.00/month - No credit card required now

Go to Store
Facebook Profile Scraper (Private & Public)

Facebook Profile Scraper (Private & Public)

igolaizola/facebook-profile-scraper
Try for free

3 days trial then $15.00/month - No credit card required now

Extract Facebook private or public profile posts, including text, images, videos, comments, reactions, and shares. Supports scraping tagged people and translations. Use authentication cookies for access. Ideal for market research, sentiment analysis, and social media monitoring.

You can access the Facebook Profile Scraper (Private & Public) 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": "i32nGymQwIOa2kFqI"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/igolaizola~facebook-profile-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-igolaizola-facebook-profile-scraper",
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/igolaizola~facebook-profile-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-igolaizola-facebook-profile-scraper",
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/igolaizola~facebook-profile-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-igolaizola-facebook-profile-scraper",
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        "required": [
134          "urls"
135        ],
136        "properties": {
137          "urls": {
138            "title": "URLs",
139            "type": "array",
140            "description": "URLs to scrape",
141            "items": {
142              "type": "string"
143            }
144          },
145          "cookies": {
146            "title": "Cookies",
147            "type": "array",
148            "description": "Cookies from Export JSON in Cookie-Editor extension"
149          },
150          "maxItems": {
151            "title": "Max items",
152            "type": "integer",
153            "description": "Maximum number of posts to scrape",
154            "default": 10
155          },
156          "endDate": {
157            "title": "End date",
158            "type": "string",
159            "description": "Oldest date of posts to scrape (format: YYYY-MM-DD)"
160          },
161          "comments": {
162            "title": "Comments",
163            "type": "boolean",
164            "description": "Scrape comments (this will significantly increase the runtime)",
165            "default": false
166          },
167          "replies": {
168            "title": "Replies",
169            "type": "boolean",
170            "description": "Scrape replies to comments (this will significantly increase the runtime)",
171            "default": false
172          },
173          "shares": {
174            "title": "Shares",
175            "type": "boolean",
176            "description": "Scrape shares (this will significantly increase the runtime)",
177            "default": false
178          },
179          "reactions": {
180            "title": "Reactions",
181            "type": "boolean",
182            "description": "Scrape reactions (this will significantly increase the runtime)",
183            "default": false
184          },
185          "peopleWith": {
186            "title": "People with",
187            "type": "boolean",
188            "description": "Scrape the list of people tagged as 'with' (this will significantly increase the runtime)",
189            "default": false
190          },
191          "translations": {
192            "title": "Translations",
193            "type": "boolean",
194            "description": "Translate posts and comments to English (this will increase the runtime)",
195            "default": false
196          },
197          "proxyConfiguration": {
198            "title": "Proxy configuration",
199            "type": "object",
200            "description": "Select proxies to be used."
201          }
202        }
203      },
204      "runsResponseSchema": {
205        "type": "object",
206        "properties": {
207          "data": {
208            "type": "object",
209            "properties": {
210              "id": {
211                "type": "string"
212              },
213              "actId": {
214                "type": "string"
215              },
216              "userId": {
217                "type": "string"
218              },
219              "startedAt": {
220                "type": "string",
221                "format": "date-time",
222                "example": "2025-01-08T00:00:00.000Z"
223              },
224              "finishedAt": {
225                "type": "string",
226                "format": "date-time",
227                "example": "2025-01-08T00:00:00.000Z"
228              },
229              "status": {
230                "type": "string",
231                "example": "READY"
232              },
233              "meta": {
234                "type": "object",
235                "properties": {
236                  "origin": {
237                    "type": "string",
238                    "example": "API"
239                  },
240                  "userAgent": {
241                    "type": "string"
242                  }
243                }
244              },
245              "stats": {
246                "type": "object",
247                "properties": {
248                  "inputBodyLen": {
249                    "type": "integer",
250                    "example": 2000
251                  },
252                  "rebootCount": {
253                    "type": "integer",
254                    "example": 0
255                  },
256                  "restartCount": {
257                    "type": "integer",
258                    "example": 0
259                  },
260                  "resurrectCount": {
261                    "type": "integer",
262                    "example": 0
263                  },
264                  "computeUnits": {
265                    "type": "integer",
266                    "example": 0
267                  }
268                }
269              },
270              "options": {
271                "type": "object",
272                "properties": {
273                  "build": {
274                    "type": "string",
275                    "example": "latest"
276                  },
277                  "timeoutSecs": {
278                    "type": "integer",
279                    "example": 300
280                  },
281                  "memoryMbytes": {
282                    "type": "integer",
283                    "example": 1024
284                  },
285                  "diskMbytes": {
286                    "type": "integer",
287                    "example": 2048
288                  }
289                }
290              },
291              "buildId": {
292                "type": "string"
293              },
294              "defaultKeyValueStoreId": {
295                "type": "string"
296              },
297              "defaultDatasetId": {
298                "type": "string"
299              },
300              "defaultRequestQueueId": {
301                "type": "string"
302              },
303              "buildNumber": {
304                "type": "string",
305                "example": "1.0.0"
306              },
307              "containerUrl": {
308                "type": "string"
309              },
310              "usage": {
311                "type": "object",
312                "properties": {
313                  "ACTOR_COMPUTE_UNITS": {
314                    "type": "integer",
315                    "example": 0
316                  },
317                  "DATASET_READS": {
318                    "type": "integer",
319                    "example": 0
320                  },
321                  "DATASET_WRITES": {
322                    "type": "integer",
323                    "example": 0
324                  },
325                  "KEY_VALUE_STORE_READS": {
326                    "type": "integer",
327                    "example": 0
328                  },
329                  "KEY_VALUE_STORE_WRITES": {
330                    "type": "integer",
331                    "example": 1
332                  },
333                  "KEY_VALUE_STORE_LISTS": {
334                    "type": "integer",
335                    "example": 0
336                  },
337                  "REQUEST_QUEUE_READS": {
338                    "type": "integer",
339                    "example": 0
340                  },
341                  "REQUEST_QUEUE_WRITES": {
342                    "type": "integer",
343                    "example": 0
344                  },
345                  "DATA_TRANSFER_INTERNAL_GBYTES": {
346                    "type": "integer",
347                    "example": 0
348                  },
349                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
350                    "type": "integer",
351                    "example": 0
352                  },
353                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
354                    "type": "integer",
355                    "example": 0
356                  },
357                  "PROXY_SERPS": {
358                    "type": "integer",
359                    "example": 0
360                  }
361                }
362              },
363              "usageTotalUsd": {
364                "type": "number",
365                "example": 0.00005
366              },
367              "usageUsd": {
368                "type": "object",
369                "properties": {
370                  "ACTOR_COMPUTE_UNITS": {
371                    "type": "integer",
372                    "example": 0
373                  },
374                  "DATASET_READS": {
375                    "type": "integer",
376                    "example": 0
377                  },
378                  "DATASET_WRITES": {
379                    "type": "integer",
380                    "example": 0
381                  },
382                  "KEY_VALUE_STORE_READS": {
383                    "type": "integer",
384                    "example": 0
385                  },
386                  "KEY_VALUE_STORE_WRITES": {
387                    "type": "number",
388                    "example": 0.00005
389                  },
390                  "KEY_VALUE_STORE_LISTS": {
391                    "type": "integer",
392                    "example": 0
393                  },
394                  "REQUEST_QUEUE_READS": {
395                    "type": "integer",
396                    "example": 0
397                  },
398                  "REQUEST_QUEUE_WRITES": {
399                    "type": "integer",
400                    "example": 0
401                  },
402                  "DATA_TRANSFER_INTERNAL_GBYTES": {
403                    "type": "integer",
404                    "example": 0
405                  },
406                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
407                    "type": "integer",
408                    "example": 0
409                  },
410                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
411                    "type": "integer",
412                    "example": 0
413                  },
414                  "PROXY_SERPS": {
415                    "type": "integer",
416                    "example": 0
417                  }
418                }
419              }
420            }
421          }
422        }
423      }
424    }
425  }
426}

Facebook Profile Scraper (Private & Public) 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 Profile Scraper (Private & Public) 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:

Developer
Maintained by Community

Actor Metrics

  • 11 monthly users

  • 0 No stars yet

  • >99% runs succeeded

  • Created in Dec 2024

  • Modified 4 days ago