
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
bach-facebook-scraper3
Advanced tools
EMCP 是一个强大的 MCP 服务器管理平台,让您无需手动配置即可快速使用各种 MCP 服务器!
bach-facebook_scraper3)立即访问 EMCP 平台 开始您的 MCP 之旅!
这是一个 MCP 服务器,用于访问 Facebook Scraper3 API。
bach-facebook_scraper3pip install bach-facebook_scraper3
pip install -e .
# 运行(uvx 会自动安装并运行)
uvx --from bach-facebook_scraper3 bach_facebook_scraper3
# 或指定版本
uvx --from bach-facebook_scraper3@latest bach_facebook_scraper3
python server.py
# 安装
pip install bach-facebook_scraper3
# 运行(命令名使用下划线)
bach_facebook_scraper3
此 API 需要认证。请设置环境变量:
export API_KEY="your_api_key_here"
| 变量名 | 说明 | 必需 |
|---|---|---|
API_KEY | API 密钥 | 是 |
PORT | 不适用 | 否 |
HOST | 不适用 | 否 |
编辑 Claude Desktop 配置文件 claude_desktop_config.json:
{
"mcpServers": {
"facebook_scraper3": {
"command": "uvx",
"args": ["--from", "bach-facebook_scraper3", "bach_facebook_scraper3"],
"env": {
"API_KEY": "your_api_key_here"
}
}
}
}
注意: 请将 E:\path\to\facebook_scraper3\server.py 替换为实际的服务器文件路径。
此服务器提供以下工具:
comment_by_idGet comment by comment id
端点: GET /comment
参数:
comment_id (string) 必需: Example value: 2815848835278004search_peopleSearches people
端点: GET /search/people
参数:
query (string) 必需: Example value: pizza
cursor (string): Example value:
search_hashtagSearch posts with hashtag
端点: GET /search/hashtags
参数:
hashtag (string) 必需: Example value: gol
cursor (string): Example value:
profile_reelsGet profile reels. Get reels_profile_id from profile details endpoint
端点: GET /profile/reels
参数:
reels_profile_id (string) 必需: Example value: YXBwX2NvbGxlY3Rpb246cGZiaWQwUHNSMVVqTTE3a2dicGQ1VVkycEhwcGtKV2dwOFltNHpxUU53U3JCRTluUUZmQ3o0dG9tMjNLaWlTVnNzZmpNQnlDWVoxQWtjTXNlVmlveWdFeGw=
cursor (string): Example value:
page_eventsGet all future events created by page
端点: GET /page/events/future
参数:
page_id (string) 必需: Example value: 100063667778486
cursor (string): Example value:
collection_id (string): Example value:
post_reactionsGet post reactions
端点: GET /post/reactions
参数:
post_id (string) 必需: Example value: 2253766361810327
cursor (string): Example value:
comments___nestedGet nested comments. You need to use legacy fb id
端点: GET /post/comments_nested
参数:
post_id (string): Example value: 979891387516215
comment_id (string): legacy_comment_id
expansion_token (string): Example value: MjoxNzM3OTY2Mzk0OgF1awP-xdBTo30UnnZUyhtyeebg0jVPoVV4mPROM1cOYWTDR5SCnvo6iBi20bz8LOYiG8vLdH6MB7q-43BaIT4TuTSDOaTc6RuXysoOhSqAVJA0_WcLrgUn8XQK-RiWnu1_pzCvCo8quhTgHDUvkAVRvV-Cun1kyY3xbgsW_43rvGoObIdFqDsduFTaPu2H440xn6U9b0uKIG7HEVDuTPkjF-KUBds0l_m3DiKRhCA4frRbr1vbRG6f2Mbf4nw4yhKhjIHFe9CTXpYlvZAVf6LqF84O2167FRMyOWSR1x1YIBURLRSRL_azSdTcpPHVV3E_fUzb3nXT3aq7I3TLeHqPJp2kAU-bCas-Tq_BjcK1mQbFUPBR9R0LpNGaNRMMdFwkCouRuvktHEZa1-6maYUw
page_reelsGet page reels by page id - use reels_page_id now
端点: GET /page/reels
参数:
page_id (string): legacy - migrate to reels_page_id
cursor (string): Example value:
reels_page_id (string): Value used by facebook. Get it from page details endpoint
listing_detailsGet listing details
端点: GET /marketplace/details
参数:
listing_id (string) 必需: Example value: 750003161080442searchSearch marketplace. Use cursor to get next page
端点: GET /marketplace/search
参数:
query (string) 必需: Example value: pizza
lat (string) 必需: Example value: 40.7128
lng (string) 必需: Example value: -74.006
price_min (string): Example value:
price_max (string): Example value:
radius_km (string): Example value:
condition (string): used_like_new , used_good, used_fair , new Can be combined with coma, for example: used_like_new,used_good
category (string): cars, boats etc.
commentsGet post comments. Use comment_id from post
端点: GET /post/comments
参数:
post_id (string) 必需: Example value: pfbid02BzYRNmoznsZjci5FuztPUb9mKd9ameNVYSBweaBEvb8oEzSMjcs8nbXnMkYA5Benl
cursor (string): Example value:
search_groups_postsSearches group for posts
端点: GET /search/groups_posts
参数:
query (string) 必需: Example value: Be my friend
cursor (string): Example value:
group_id (string): Example value: 137206643664121
start_date (string): Example value:
end_date (string): Example value:
page_videosGet page videos by page delegate id. YOU NEED TO USE DELEGATE ID, NOT PAGE ID.
端点: GET /page/videos
参数:
delegate_page_id (string) 必需: Example value: 20531316728
cursor (string): Example value:
pages_photosRead page photos (from recent) Use cursor to get next page of results
端点: GET /page/photos
参数:
page_id (string) 必需: Example value: 100064830872783
cursor (string): Example value:
collection_id (string): Required with cursor. Obtain from first response
pages_postsRead page posts (from recent)
端点: GET /page/posts
参数:
page_id (string) 必需: Example value: 100064860875397
cursor (string): Example value:
start_date (string): Example value:
end_date (string): Example value:
page_detailsRead page details
端点: GET /page/details
参数:
url (string) 必需: Example value: https://www.facebook.com/facebookpage_past_eventsGet all past events created by page. Use cursor to get next page of results.
端点: GET /page/events/past
参数:
page_id (string) 必需: Example value: 100063667778486
cursor (string): Example value:
collection_id (string): Example value:
get_group_postsGet group posts. Only PUBLIC groups can be scrapped! If there are no post response, check if group is not private.
端点: GET /group/posts
参数:
group_id (string) 必需: Example value: 1439220986320043
cursor (string): Example value:
sorting_order (string): Example value:
get_group_future_eventsGet group future events. Only PUBLIC groups can be scrapped! If there are no post response, check if group is not private. Use cursor to get next page of events!
端点: GET /group/future_events
参数:
group_id (string) 必需: Example value: 1571965316444595
cursor (string): Example value:
search_eventsSearches for facebook events
端点: GET /search/events
参数:
query (string) 必需: Example value: beer
cursor (string): Example value:
location_uid (string): Example value:
start_date (string): Example value:
end_date (string): Example value:
game_livesGet game live videos Use cursor to get next page.
端点: GET /gaming/live
参数:
game_id (string) 必需: Example value: 1494097103958822
cursor (string): Example value:
sort_order (string) 必需: Example value:
browse_gamesBrowse games. Use empty query for browse all games. Use cursor to get next page.
端点: GET /gaming/games
参数:
query (string) 必需: Example value:
cursor (string): Example value:
sort_order (string) 必需: Example value:
page_reviewsGet page reviews. Use cursor to get next page
端点: GET /page/reviews
参数:
page_id (string) 必需: Example value: 100063543614476
cursor (string): Example value:
search_videoPerforms facebook videos search
端点: GET /search/videos
参数:
query (string) 必需: Example value: facebook
cursor (string): Example value:
recent_videos (string): Example value:
location_uid (string): Example value:
start_date (string): Example value:
end_date (string): Example value:
profile_postsRead profile posts (from recent), if public
端点: GET /profile/posts
参数:
profile_id (string) 必需: Example value: 4
cursor (string): Example value:
start_date (string): Example value:
end_date (string): Example value:
events_details_by_idGet events details by event id
端点: GET /event/details_id
参数:
event_id (string) 必需: Example value: 1259800548576578locationsSearch for facebook locations id. If you get strange results, try add country to query and/or try without diacritic
端点: GET /search/locations
参数:
query (string) 必需: Example value:search_postPerforms facebook posts search
端点: GET /search/posts
参数:
query (string) 必需: Example value: facebook
cursor (string): Example value:
recent_posts (string): Example value:
location_uid (string): Example value:
start_date (string): Example value:
end_date (string): Example value:
events_details_by_urlGet events details
端点: GET /event/details
参数:
url (string) 必需: Example value: https://www.facebook.com/events/456725590572335profiles_details_by_idGet profiles details by id
端点: GET /profile/details_id
参数:
profile_id (string) 必需: Example value:profile_details_by_urlGet profile details by url
端点: GET /profile/details_url
参数:
url (string) 必需: Example value:profile_idGet profile id by url
端点: GET /profile/profile_id
参数:
url (string) 必需: Example value:get_post_detailsGet post details by url or post id. If both are set, post id is used.
端点: GET /post
参数:
post_id (string): Example value: pfbid04KTWEM9Rri6Wg3oLRBF5FUUvfPebQ6ZJRwVivymc8e8KWvy3RsnpUXyppjEZqkwZl
post_url (string): Example value:
get_group_detailsGet group summary
端点: GET /group/details
参数:
url (string) 必需: Example value: https://www.facebook.com/groups/gieldagryplanszoweget_group_idGetting group facebook id
端点: GET /group/id
参数:
url (string) 必需: Example value: https://www.facebook.com/groups/gieldagryplanszowepage_idget page id from url
端点: GET /page/page_id
参数:
url (string) 必需: Example value: https://facebook.com/facebookresharesGet post reshares
端点: GET /post/share
参数:
post_id (string): use share_id from post details
cursor (string): Example value:
search_placeSearch for fb place
端点: GET /search/places
参数:
query (string) 必需: Example value: pizza
cursor (string): Example value:
location_uid (string): Example value:
search_pagesSearches for facebook pages
端点: GET /search/pages
参数:
query (string) 必需: Example value: beer
cursor (string): Example value:
location_uid (string): Example value:
此服务器由 API-to-MCP 工具自动生成。
版本: 2.0.0
FAQs
RapidAPI: krasnoludkolo/facebook-scraper3
We found that bach-facebook-scraper3 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.