Facebook Serveur MCP
Environ 2 milliards d'utilisateurs quotidiens partagent des posts, photos, vidéos, groupes, événements et annonces Marketplace sur Facebook, ce qui en fait une plateforme importante pour la portée communautaire, le service client, la découverte locale et le commerce social.
URL de base
https://mcp.pressmonitor.fr/mcp Authentification
Les appels MCP utilisent aussi des jetons Bearer sur des requêtes JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN events_search
Rechercher des événements
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "events_search",
"arguments": {
"query": "VALUE"
}
},
"id": 1
}' get_post
Obtenir la publication
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| post_id | string | Oui | ID de la publication |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get_post",
"arguments": {
"post_id": "VALUE"
}
},
"id": 1
}' group_info
Infos sur le groupe
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | ID |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "group_info",
"arguments": {
"id": "VALUE"
}
},
"id": 1
}' marketplace_product
Produit du Marketplace
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| product_id | string | Oui | ID du produit |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "marketplace_product",
"arguments": {
"product_id": "VALUE"
}
},
"id": 1
}' marketplace_profile
Profil Marketplace
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user_id | string | Oui | ID utilisateur |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "marketplace_profile",
"arguments": {
"user_id": "VALUE"
}
},
"id": 1
}' marketplace_search
Recherche Marketplace
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "marketplace_search",
"arguments": {
"query": "VALUE"
}
},
"id": 1
}' page_albums
Albums de la page
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | ID |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "page_albums",
"arguments": {
"id": "VALUE"
}
},
"id": 1
}' page_details
Page Détails
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | ID |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "page_details",
"arguments": {
"id": "VALUE"
}
},
"id": 1
}' page_feed
Fil de la page
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | ID |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "page_feed",
"arguments": {
"id": "VALUE"
}
},
"id": 1
}' pages_search
Rechercher Pages
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "pages_search",
"arguments": {
"query": "VALUE"
}
},
"id": 1
}' pages_search_post
Recherche de publications des pages
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "pages_search_post",
"arguments": {
"query": "VALUE"
}
},
"id": 1
}' post_comments
Commentaires sur la publication
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| post_id | string | Oui | ID de la publication |
| end_cursor | string | Non | Curseur de fin |
| order | string | Non | Ordre |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "post_comments",
"arguments": {
"post_id": "VALUE"
}
},
"id": 1
}' post_reactions
Réactions à la publication
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| post_id | string | Oui | ID de la publication |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "post_reactions",
"arguments": {
"post_id": "VALUE"
}
},
"id": 1
}' post_reactions_count
Nombre de réactions à la publication
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| post_id | string | Oui | ID de la publication |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "post_reactions_count",
"arguments": {
"post_id": "VALUE"
}
},
"id": 1
}' posts_search
Rechercher Publications
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| date_posted | string | Non | Date de publication |
| end_cursor | string | Non | Curseur de fin |
| end_date | string | Non | Date de fin |
| recent_posts | string | Non | Publications récentes |
| start_date | string | Non | Date de début |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "posts_search",
"arguments": {
"query": "VALUE"
}
},
"id": 1
}' posts_search_post
Recherche de publications
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "posts_search_post",
"arguments": {
"query": "VALUE"
}
},
"id": 1
}' profile_about
À propos du profil
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user_id | string | Oui | ID utilisateur |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "profile_about",
"arguments": {
"user_id": "VALUE"
}
},
"id": 1
}' profile_albums
Albums du profil
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user_id | string | Oui | ID utilisateur |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "profile_albums",
"arguments": {
"user_id": "VALUE"
}
},
"id": 1
}' profile_feed
Fil du profil
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user_id | string | Oui | ID utilisateur |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "profile_feed",
"arguments": {
"user_id": "VALUE"
}
},
"id": 1
}' profile_friends
Amis du profil
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user_id | string | Oui | ID utilisateur |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "profile_friends",
"arguments": {
"user_id": "VALUE"
}
},
"id": 1
}' profile_likes
Mentions J'aime du profil
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user_id | string | Oui | ID utilisateur |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "profile_likes",
"arguments": {
"user_id": "VALUE"
}
},
"id": 1
}' profile_page
Page du profil
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user_id | string | Oui | ID utilisateur |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "profile_page",
"arguments": {
"user_id": "VALUE"
}
},
"id": 1
}' profile_photos
Photos du profil
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user_id | string | Oui | ID utilisateur |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "profile_photos",
"arguments": {
"user_id": "VALUE"
}
},
"id": 1
}' profile_search
Recherche de profils
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "profile_search",
"arguments": {
"query": "VALUE"
}
},
"id": 1
}' profile_search_post
Recherche de publications du profil
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "profile_search_post",
"arguments": {
"query": "VALUE"
}
},
"id": 1
}' profile_videos
Vidéos du profil
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user_id | string | Oui | ID utilisateur |
| end_cursor | string | Non | Curseur de fin |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "profile_videos",
"arguments": {
"user_id": "VALUE"
}
},
"id": 1
}' video_id_url
URL de l'ID vidéo
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| url | string | Oui | URL |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "video_id_url",
"arguments": {
"url": "VALUE"
}
},
"id": 1
}'