ByCrawl icon

ByCrawl

Crawl social media data from 15+ platforms using ByCrawl API

Facebook → Get User Posts

AI-generated

Summary

Retrieve posts from a specified Facebook page by username or page ID, with optional control over the number of posts to return (up to 10).

Inputs

  • Username (required) — The Facebook page username or ID
  • Count — Number of posts to return (maximum of 10), defaults to 3

Output shape

a list of posts under the 'posts' property in the response body

The output data is extracted from the 'posts' root property in the API response. The maximum number of posts returned is capped at 10.

Examples

Example 1: Get the latest 3 posts from a Facebook page by username

Set Username to the Facebook page's username and leave Count at default 3 to fetch the latest 3 posts.

Example 2: Retrieve up to 10 posts from a Facebook page

Set Username to the Facebook page's username and set Count to a number up to 10 to retrieve that number of posts.

Links

Discussion