How to Monitor Facebook Pages and Groups via API and MCP
How to monitor Facebook pages and public groups over API or MCP: pull new posts, comments and reviews as JSON, compare each run and estimate the points.
By the NeuralVerge team · 14 min read · Updated November 2026
▸On this page
To monitor Facebook pages and groups, you do not need to keep a feed open. You need a watch list, a scheduled call that returns posts as data, a store of the IDs you have already seen and a rule for what deserves attention. This walkthrough builds that loop with NeuralVerge's Facebook sources, reachable over REST or MCP: what each source returns, two real responses, the cost in points and the places where the approach stops.
The short version
- —The core loop: read new posts from each page and public group on a schedule, drop the IDs you already have, then open comments only on the posts that matter.
- —The sources you will use most: Facebook posts at 5 points per returned post and Facebook groups at 10 points per returned post, with comments, reviews, page profiles and search around them.
- —Who it is for: marketing teams watching competitors, local businesses watching their own reputation, community and support teams, and anyone giving an assistant a "what did they post this week?" tool.
- —What you supply: the scheduler, the database, the alerting and the judgment about what counts as news.
- —What it cannot do: read private groups, see reach or impressions, or notify you by itself.
What the Facebook sources return
There are seven Facebook sources. Each takes one input and returns structured records in the same response, with no polling. The table below was generated from the source pages, at the time of writing.
| Source | You send | You get | Points |
|---|---|---|---|
| Facebook pages | A Facebook page URL, page name or page ID | The page profile with categories, audience, rating, contacts and ad status | 15 points per returned page |
| Facebook page contacts | A Facebook page URL, page name or page ID, plus an optional language | Email, phone, websites, address and the page's profile fields | 15 points per returned page |
| Facebook posts | A page URL, page name or single post URL, with optional date filters | Posts with text, time, engagement counts, reactions by type and media | 5 points per returned post |
| Facebook comments | A public post, photo, video or reel URL | Comments (and optionally replies) with text, date, author and likes | 5 points per returned comment |
| Facebook groups | A public Facebook group URL or ID | Group posts with text, author, engagement, attachments and top comments | 10 points per returned post |
| Facebook reviews | A Facebook page URL, page name or page ID | Reviews with recommendation, text, date, author, tags and replies | 5 points per returned review |
| Facebook search | A keyword, an optional location and a search type | Matching pages, profiles, posts or reels | 10 points per returned result |
For monitoring, they fall into three roles.
Sources you poll
Posts and groups are the heartbeat. The posts source takes a page URL, a page name or a single post URL, and returns text, publish time, likes, comments and shares counts, reactions by type, video views for video posts, media with OCR text where available, outbound links and a few top comments. You can filter with newer_than and older_than and cap the run with max_items.
The groups source takes a public group URL or ID. It returns text, author, time, reactions, comment and share counts, attachments and top comments, plus price and location in BuySell groups.
Sources you open on demand
Comments and reviews are where you go once something has caught your eye. The comments source takes the URL of a public post, photo, video or reel and returns comment text, date, author, likes and reply counts, with replies up to three levels deep if you switch include_replies on. The reviews source returns whether each reviewer recommends the page, the review text, tags and the business's reply where there is one.
Sources you use to set up and refresh
Search finds pages, profiles, posts or reels for a keyword, optionally within a location. The page profile and page contacts sources return followers, categories, recommendation rating, contacts and ad status. These change slowly, so there is no reason to read them as often as posts.
How to monitor Facebook pages and groups: the workflow
Say Acme Oy, an illustrative Finnish company, wants to know what a handful of competitors announce, what people ask in two or three public industry groups and when its own page gets a negative review. Six steps cover that.
1. Build the watch list
Make one row per target: a name you recognize, the type (page or group), the URL, the date of the last successful run and how often to check it. If you do not have the URLs yet, run Facebook search once with a keyword and a location. Matching is loose. The source page's own sample shows a band named Portland coming back for a search for coffee roasters in Portland, so have a person approve each target before it goes on the list.
2. Take a baseline
On the first run, read a window long enough to show what normal looks like, such as the last three months for each page. Store every post ID and its counts. This tells you how often each target posts and what a typical level of reactions is, which you need before "unusually popular" means anything. It is also the most expensive run you will make, so set max_items deliberately.
3. Read only what is new
On later runs, send newer_than with the date of the previous successful run. The source pages describe the value as a date or a period such as 3 months, so expect some overlap with what you already have. Keep a set of seen post IDs and drop repeats. Overlap is a safety margin against missed posts, and you pay for it, because each returned record is billed.
For groups, sort by CHRONOLOGICAL, which is the default, when you want new posts. RECENT_ACTIVITY is the one to use when an old thread with fresh replies also matters, and TOP_POSTS when you only want the most relevant.
4. Filter before you spend more
Run cheap checks on what came back before opening anything else:
- —Keywords. Your brand, product names, a competitor, words such as price, outage, refund or hiring.
- —Engagement against the baseline. A post with several times the page's usual comments is worth a look even without a keyword.
- —Automated group posts. Welcome messages and rules reminders come back like any other post, as the groups source page warns. Filter them out by their repeated wording.
- —Post type.
is_videoandpaid_partnershipon page posts let you route videos and sponsored content separately.
5. Open comments and reviews where it counts
For the few posts that pass the filter, call the comments source with the post URL and a modest max_items. Sort by RECENT_ACTIVITY to see the newest first. Turn include_replies on only when the thread structure matters, because each reply is billed as its own result.
For your own page, add a reviews call with newer_than. Facebook reviews are recommend or do not recommend, not star ratings, so alert on is_recommended being false and do not average them with scores from other sites without converting.
6. Report, then re-read
Send urgent matches at once and collect the rest into a daily or weekly digest with the post text, the link and the counts. Engagement keeps growing after a post goes up, so a count taken one hour after publishing will undercount against an older post. If you compare performance, re-read each post at a fixed age, for example by passing its URL to the posts source a few days later.
A real request and response
New posts from a page
This is the REST call from the posts source page. Replace YOUR_API_KEY with your key:
curl -X POST https://api.neuralverge.ai/functions/v1/run-facebook-posts \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "url": "https://www.facebook.com/NASA/", "max_items": 20, "newer_than": "3 months" }'
The JSON below is the sample response on the same page, which was captured with max_items set to 2. I have shortened it to one of the two posts and cut its text.
{
"session_id": "5c009905-3d0b-4c6f-91bc-f39fd32385db",
"kind": "facebook_posts",
"url": "https://www.facebook.com/NASA/",
"max_items": 2,
"include_video_transcript": false,
"partial": false,
"machine": {
"total_items": 2,
"items": [
{
"id": "1665530011609035",
"url": "https://www.facebook.com/reel/1803909017420449/",
"time": "2026-10-23T23:40:58.000Z",
"text": "We are not slowing down. 🚀 Our Artemis III mission will send four astronauts to low Earth orbit next year ...",
"page_name": "NASA",
"likes_count": 3815,
"comments_count": 158,
"shares_count": 379,
"views_count": 277481,
"reactions": { "like": 3270, "love": 467, "haha": 14, "wow": 17, "sad": null, "angry": 1, "care": 46 },
"is_video": true,
"video_transcript": null,
"link": "https://go.nasa.gov/4zV3TuG",
"paid_partnership": false
}
],
"errors": []
},
"total_points": 10
}
What a monitor takes from it:
- —
idis the key for your seen set. Use it rather than the URL, which comes in different shapes: this one is a reel link, and the other post in the sample has a posts link. - —
timeis ISO 8601 in UTC, so sorting and windowing are straightforward. - —
reactionsseparates the types, so a rise inangryorsadcan be its own signal. Anullis not necessarily a zero, so treat it as no value. - —
video_transcriptisnullhere becauseinclude_video_transcriptwas off. Turn it on when you need what was said. - —
partialtells you whether the run hit its time budget. If it is true, re-run with a smallermax_items. - —
total_pointsis 10, which is two returned posts at 5 points each.
New posts from a public group
The group call from its source page has the same shape:
curl -X POST https://api.neuralverge.ai/functions/v1/run-facebook-groups \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "url": "https://www.facebook.com/groups/874728723021553", "max_items": 20, "sort": "TOP_POSTS" }'
The page's captured sample used CHRONOLOGICAL with two posts and cost 20 points. One item, shortened, with the author's name and ID removed:
{
"id": "UzpfSTEwMDA2NDM5NjI4NTkyMTpWSzoyNjUwMTgzNjg4ODA5Mzcy",
"url": "https://www.facebook.com/groups/874728723021553/permalink/2650183688809372/",
"time": "2026-10-26T09:16:06.000Z",
"text": "Let's welcome our new members! …",
"group_title": "Maths Formulas",
"likes_count": 3,
"comments_count": 0,
"shares_count": 0,
"price": null,
"location": null,
"top_comments": []
}
This sample is a useful warning. It is an automated welcome post, which you paid 10 points for and do not want in a digest. Check how much of a group's feed is real discussion before you add it to a frequent schedule.
Build it over REST or MCP
Both routes call the same sources with the same arguments and return the same data. AI research is the one part of the platform that is REST-only.
The scheduled job over REST
A cron entry or queue worker is enough for the recurring part. The core of it is short:
import os, requests
API = "https://api.neuralverge.ai/functions/v1/"
HEADERS = {"Authorization": f"Bearer {os.environ['NEURALVERGE_API_KEY']}"}
def check_page(url, since_date, seen_ids):
res = requests.post(
API + "run-facebook-posts",
headers=HEADERS,
json={"url": url, "newer_than": since_date, "max_items": 20},
timeout=300,
)
res.raise_for_status()
body = res.json()
machine = body["machine"]
new = [p for p in machine["items"] if p["id"] not in seen_ids]
complete = not body["partial"] and not machine["errors"]
return new, complete, body["total_points"]
Move the stored last-run date forward only when complete is true. Otherwise the next run skips posts you never received. If a run returns exactly max_items records, assume there may be more in the window and raise the cap or run more often.
The same lookups over MCP
On the hosted MCP server at https://mcp.neuralverge.ai/mcp, the tools are run_facebook_posts, run_facebook_groups, run_facebook_comments, run_facebook_reviews, run_facebook_pages, run_facebook_page_contacts and run_facebook_search. REST paths use hyphens and tool names use underscores. A call looks like this:
{ "tool": "run_facebook_posts", "arguments": { "url": "https://www.facebook.com/NASA/", "max_items": 20 } }
For connecting a client, see the MCP server setup guide. An assistant is a good fit for the questions that come after an alert: "read the comments on this post and group the complaints", or "what has this page published since Monday?". The recurring schedule and the seen set are better kept in code you control, since a chat session does not wake itself up. If you give an assistant read access to your stored posts, it can compare today with last month without paying to fetch last month again.
If you also watch other networks, the social media data guide covers the Instagram and YouTube sources, which follow the same request pattern.
Cost and limits
Points per call
Billing is per record actually returned, according to each Facebook source page. A page that cannot be found, a page with no posts in your window, a private group or a post with no comments costs nothing on the corresponding source. max_items is your ceiling for a single call on the list sources.
A worked monthly estimate
The volumes below are assumptions for illustration, not measured posting rates. Replace them with what your baseline run shows. Acme Oy checks once a day for 30 days:
- —10 competitor pages, each publishing 2 posts a day. With a one-day overlap, each run returns about 40 posts at 5 points, or 200 points a day.
- —3 public groups, each with 10 posts a day. With the same overlap, 60 posts at 10 points, or 600 points a day.
- —Comments on 3 flagged posts a day, 20 comments each: 60 comments at 5 points, or 300 points a day.
- —Page profiles for the 10 competitors once a week: 10 records at 15 points, 150 points a week, about 600 a month.
That is 6,000 points for page posts, 18,000 for groups, 9,000 for comments and 600 for profiles, so 33,600 points a month. Reviews of your own page add 5 points per returned review.
Groups are the largest line, because they are busier and cost twice as much per post. Trim there first: fewer groups, a lower max_items, or a less frequent schedule for the quiet ones.
Pitfalls
Treating a failed run as a quiet day. An error or a partial response is not "nothing new". Record the run status and keep the last-run date where it was.
Comparing counts of different ages. A post read after one hour and a post read after a week are not comparable. Fix the age at which you measure.
Expecting private data. Private groups cannot be read, hidden or deleted comments are not returned and reach is visible only to the page owner.
Trusting search without review. Keyword search is for finding candidates, not for deciding what to watch.
Keeping more personal data than you need. Comments, reviews and group posts can include the names and words of private individuals. Store what your purpose requires, set a retention period, honour deletion and opt-out requests under your own lawful basis, and check the acceptable use policy. Platforms also publish their own terms. This is not legal advice.
How to decide
Answer these before you build:
- —What decision does the monitor feed? If nobody acts on an alert, a monthly manual look is enough.
- —Are your targets public pages and public groups? Private groups and personal profiles are out of scope.
- —How fresh must it be? A scheduled read is a sample, not a live stream. A post can be published and removed between two runs.
- —Do you need comments on everything, or only on flagged posts? The second is far cheaper.
- —What will you store, and for how long? Decide before the first run, especially for author names.
- —Do you need a dashboard? If your team wants charts, sentiment scoring and user seats out of the box, a social listening suite may suit you better. This approach gives you records to build with.
- —Which workflow is yours? The common ones:
- —Competitor tracking: what they announce, how often, and which posts draw reactions.
- —Reputation watch: new "does not recommend" reviews on your locations, and whether anyone replied.
- —Community research: recurring questions and vendor mentions in public practitioner groups.
- —Support signals: comments under your own posts that describe a fault before a ticket arrives.
- —Local marketplace watch: BuySell listings with price and location, using
CHRONOLOGICAL_LISTINGS.
Frequently asked questions
Can I monitor private Facebook groups or personal profiles?
No. The group source reads public groups only. A private or deleted group comes back with an error and is not billed, according to the source page. The page sources are meant for business, brand and organisation pages, not personal profiles.
Does NeuralVerge send an alert when a page posts something new?
No. Each source returns what is visible at the moment you ask. Scheduling, remembering which post IDs you have already seen and sending the alert are done by your own cron job, worker or agent.
How much does it cost to monitor Facebook pages?
According to the source pages, posts, comments and reviews cost 5 points per returned record, group posts 10 points, search results 10 points and a page profile or contacts record 15 points. A source bills for what it returns, so posts that fall inside your date window on two runs are paid for twice.
Can an AI agent monitor Facebook pages through MCP?
Yes. The seven Facebook sources are available over REST and as tools on the hosted MCP server, for example run_facebook_posts, run_facebook_groups and run_facebook_comments. An assistant can answer a one-off question directly. A recurring monitor usually runs from a scheduler that you control and keeps its own history.
How often should the monitor run?
As often as the decision it feeds. A weekly competitor summary needs a weekly run. A support or reputation watch may need several runs a day. The interval changes cost mainly through how many already seen records fall inside each date window.
Can I see how many people a competitor's post reached?
No. Reach and impressions are private to the page owner and are not returned. The posts source returns public counts such as likes, comments, shares, reactions by type and video views on video posts, as they stand when you read them.
Related articles
A social media data API returns public Facebook, Instagram and YouTube data as JSON over REST or MCP. See the 16 sources, what they return and what they cost.
A YouTube Data API alternative for reading public channels, videos, comments and shorts as JSON over REST or MCP, billed per returned result in points.
A google maps places api alternative for local business data: search by keyword and area, get ratings, phones and websites as JSON over API or MCP.
About NeuralVerge
Give your agents structured, cited, real-world data from 300+ sources and the open web — through one API or MCP server.
Data Sources on the NeuralVerge blog.