Facebook API: pages, posts, reels, comments and events
Every Facebook endpoint of the virev.ai API: public pages, posts, reels, photos, comments, transcripts, groups and events, priced per call.
15 Facebook endpoints
- GET /v1/facebook/stored/profile Facebook stored page API: followers, category and links by page name Returns one stored Facebook page: name, category, followers, links and when it was last read, with
metric_precisionnaming the counts Facebook rounds. Send the page's vanity name, numeric id or URL asq. This is a stored read: a miss is a404, is not billed and never starts a crawl; read a fresh page with the Facebook page API. $0.0005 per call - GET /v1/facebook/stored/profile/posts Facebook stored page posts API: a page's saved posts by page name Returns the posts stored for one Facebook page, newest first: caption, counts, time and URL, with an opaque
next_cursorwhile more are stored. Send the page's vanity name, numeric id or URL asq. This is a stored read: a miss is a404and never a crawl. $0.0005 per call - GET /v1/facebook/stored/post Facebook stored post API: caption, counts and media by post id Returns one stored Facebook post with its page and group: caption, counts, time, media paths and
metric_precision. Send the numeric post id asq. This is a stored read: a miss is a404and never a crawl; read a fresh post with the Facebook post API. $0.0005 per call - GET /v1/facebook/stored/post/comments Facebook stored comments API: a post's saved comments by post id Returns the comments stored for one Facebook post, in the order they were stored: text, author, parent comment and time, with
next_cursorwhilehas_moreis true. Send the numeric post id asq. This is a stored read: a miss is a404and never a crawl, and a stored post with no collected comments answers an empty list. $0.0005 per call - GET /v1/facebook/profile Facebook page API: get followers, category and links by page name Reads one public Facebook page live and returns
Profile: name, category, followers and links.extracarrieslikes,website,location,delegate_page_idand, withget_business_hours=true,business_hours. Send the page username ashandle. $0.0005 per call - GET /v1/facebook/profile_photos Facebook page photos API: a page's photos by page name Returns the photos one public Facebook page shows as
Page[Post], 8 a page. Send the page username ashandle;max_pages=1answers one page at once, and any other value starts a job you poll. $0.0005 per 8 results - GET /v1/facebook/profile_reels Facebook reels API: a page's reels with views and likes by page name Returns the reels of one public Facebook page as
Page[Post], 10 a page, with caption, time, views, likes and comments. Send the page username ashandle;max_pages=1answers one page at once, and any other value starts a job you poll. $0.0005 per 10 results - GET /v1/facebook/profile_events Facebook page events API: the events a page hosts by page name Returns the events one public Facebook page hosts as
Page[FacebookEvent], 8 a page: id, name and URL, with time and place when Facebook shows them. Send the page username ashandle, then pass an event id to the Facebook event API for its details. $0.0005 per 8 results - GET /v1/facebook/group_posts Facebook group posts API: a public group and its posts by URL Returns one public Facebook group and the posts its logged-out discussion page shows, usually only the newest one, as
FacebookGroupPosts. Send the group URL asgroup. Facebook gives a logged-out reader no further page. $0.0005 per call - GET /v1/facebook/post Facebook post API: get a post, reel or video by URL Reads one public Facebook post, reel, video or photo live and returns
Post: caption, time, kind, media and the page that posted it. Send its URL asurl, then send the same URL to the Facebook comments API for its comments. $0.0005 per call - GET /v1/facebook/post_comments Facebook comments API: get a post's comments by post URL Returns the top-level comments of one public Facebook post as
Page[Comment], 10 a page: text, time and author. Send the post URL aspost. To read the replies to a comment, send itsidasfeedback_idwith the post URL to the comment replies API. $0.0005 per 10 results - GET /v1/facebook/post_comment_replies Facebook comment replies API: replies to a comment by comment id Returns the replies to one Facebook comment as
Page[Comment], 10 a page: text, time and author. Send the comment id asfeedback_idand the URL of the post it is on asurl. A comment with no replies answers an empty page. $0.0005 per 10 results - GET /v1/facebook/post_transcript Facebook video transcript API: captions of a video or reel by URL Returns the caption track Facebook serves for one video or reel as
FacebookTranscript: language, full text and timedsegments. Send the video URL asurl. This reads captions Facebook already has and does not transcribe, so a video with no track answers404and is not billed. $0.0005 per call - GET /v1/facebook/event_details Facebook event API: name, time and place of an event by id Returns one public Facebook event as
FacebookEvent: name, description, start and end time, place and URL. Send the event id or URL asevent. Facebook answers an unknown id with a page that reads as a block, so take ids from the page events API or the events search API. $0.0005 per call - GET /v1/facebook/events_search Facebook events search API: find public events by keyword Returns Facebook's public event search for one keyword as
Page[FacebookEvent]: id, name and URL of each event. Send the keyword asquery. A first page with no events carriesmeta.possibly_shadow_empty: true, because Facebook answers some queries with an empty page that looks normal. $0.0005 per 8 results