facebookRead public Facebook data with Desearch. Set action and that action's arguments. search (query; optional count, cursor) and hashtag (tag; optional count, cursor) return Meta Ad Library ads that match, not organic posts. post (id): one public post. profile (profile_id): a page or profile by ID or public handle. profile_posts (profile_id; optional count, cursor): its posts. comments (post_id; optional count, cursor): a post's comments, about 10 per page. post and profile return the item itself. List actions return { results, next_cursor, next }. For the next page, call again with the same action and target and cursor set to next_cursor, unchanged; next_cursor is null on the last page. A cursor lasts 24 hours.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "facebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | post: the public Facebook post or media ID. | |
| tag | No | hashtag: the hashtag without #, example: 'ai'. A leading # is removed. | |
| count | No | Most items to return (1-100). API default: 10 for search, 20 for the other list actions. One page may hold fewer. | |
| query | No | search: keyword or phrase, example: 'running shoes'. | |
| action | Yes | What to read: 'search', 'post', 'profile', 'profile_posts', 'comments', or 'hashtag'. | |
| cursor | No | next_cursor from the previous page of the same action and target, sent back unchanged. Omit it for the first page. | |
| post_id | No | comments: the public Facebook post or media ID. | |
| profile_id | No | profile, profile_posts: page or profile ID, or its public handle, example: 'facebook'. |