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.ca/facebook/v1 Authentification
Les appels MCP utilisent aussi des jetons Bearer sur des requêtes JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN Découvrir les outils
Commencez par lister les outils exposés par le serveur MCP.
curl -X POST 'https://mcp.pressmonitor.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'tools/list' }) }); console.log(await response.json()); import requests payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'tools/list' } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) album_metadata Métadonnées de l'album
Métadonnées de l'album
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| album_id | string | Oui | ID de l'album |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"album_metadata","arguments":{"album_id":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "album_metadata", "arguments": { "album_id": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "album_metadata", "arguments": { "album_id": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) event_details Détails de l'événement
Détails de l'événement
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| event_id | string | Oui | ID de l'événement |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"event_details","arguments":{"event_id":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "event_details", "arguments": { "event_id": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "event_details", "arguments": { "event_id": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) events_search Rechercher des événements
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"events_search","arguments":{"query":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "events_search", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "events_search", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) get_post Obtenir la publication
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_post","arguments":{"post_id":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_post", "arguments": { "post_id": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_post", "arguments": { "post_id": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) group_about À propos du groupe
À propos du groupe
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | ID |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"group_about","arguments":{"id":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_about", "arguments": { "id": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_about", "arguments": { "id": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) group_admins Administrateurs du groupe
Administrateurs du groupe
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"group_admins","arguments":{"id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_admins", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_admins", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) group_albums Albums du groupe
Albums du groupe
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"group_albums","arguments":{"id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_albums", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_albums", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) group_feed Fil du groupe
Fil du groupe
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"group_feed","arguments":{"id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_feed", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_feed", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) group_info Infos sur le groupe
Infos sur le groupe
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | ID |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"group_info","arguments":{"id":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_info", "arguments": { "id": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_info", "arguments": { "id": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) group_members Membres du groupe
Membres du groupe
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"group_members","arguments":{"id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_members", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_members", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) group_photos Photos du groupe
Photos du groupe
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"group_photos","arguments":{"id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_photos", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "group_photos", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) groups Groupes
Groupes
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"groups","arguments":{"query":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "groups", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "groups", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) marketplace_product Produit du Marketplace
Produit du Marketplace
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| product_id | string | Oui | ID du produit |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"marketplace_product","arguments":{"product_id":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "marketplace_product", "arguments": { "product_id": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "marketplace_product", "arguments": { "product_id": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) marketplace_profile Profil Marketplace
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"marketplace_profile","arguments":{"user_id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "marketplace_profile", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "marketplace_profile", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) marketplace_search Recherche Marketplace
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"marketplace_search","arguments":{"query":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "marketplace_search", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "marketplace_search", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) page_albums Albums de la page
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"page_albums","arguments":{"id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "page_albums", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "page_albums", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) page_details Page Détails
Page Détails
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | ID |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"page_details","arguments":{"id":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "page_details", "arguments": { "id": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "page_details", "arguments": { "id": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) page_feed Fil de la page
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"page_feed","arguments":{"id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "page_feed", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "page_feed", "arguments": { "id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) pages_search Rechercher Pages
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pages_search","arguments":{"query":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "pages_search", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "pages_search", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) pages_search_post Recherche de publications des pages
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pages_search_post","arguments":{"query":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "pages_search_post", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "pages_search_post", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) photos Photos
Photos
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"photos","arguments":{"query":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "photos", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "photos", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) post_comments Commentaires sur la publication
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post_comments","arguments":{"post_id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR","order":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "post_comments", "arguments": { "post_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR", "order": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "post_comments", "arguments": { "post_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR", "order": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) post_reactions Réactions à la publication
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post_reactions","arguments":{"post_id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "post_reactions", "arguments": { "post_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "post_reactions", "arguments": { "post_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) post_reactions_count Nombre de réactions à la publication
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post_reactions_count","arguments":{"post_id":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "post_reactions_count", "arguments": { "post_id": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "post_reactions_count", "arguments": { "post_id": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) posts_search Rechercher Publications
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"posts_search","arguments":{"query":"SOME_STRING_VALUE","date_posted":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR","end_date":"SOME_STRING_VALUE","recent_posts":"SOME_STRING_VALUE","start_date":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "posts_search", "arguments": { "query": "SOME_STRING_VALUE", "date_posted": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR", "end_date": "SOME_STRING_VALUE", "recent_posts": "SOME_STRING_VALUE", "start_date": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "posts_search", "arguments": { "query": "SOME_STRING_VALUE", "date_posted": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR", "end_date": "SOME_STRING_VALUE", "recent_posts": "SOME_STRING_VALUE", "start_date": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) posts_search_post Recherche de publications
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"posts_search_post","arguments":{"query":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "posts_search_post", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "posts_search_post", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) profile_about À propos du profil
À propos du profil
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user_id | string | Oui | ID utilisateur |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_about","arguments":{"user_id":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_about", "arguments": { "user_id": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_about", "arguments": { "user_id": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) profile_albums Albums du profil
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_albums","arguments":{"user_id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_albums", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_albums", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) profile_feed Fil du profil
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_feed","arguments":{"user_id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_feed", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_feed", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) profile_friends Amis du profil
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_friends","arguments":{"user_id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_friends", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_friends", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) profile_likes Mentions J'aime du profil
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_likes","arguments":{"user_id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_likes", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_likes", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) profile_page Page du profil
Page du profil
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user_id | string | Oui | ID utilisateur |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_page","arguments":{"user_id":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_page", "arguments": { "user_id": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_page", "arguments": { "user_id": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) profile_photos Photos du profil
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_photos","arguments":{"user_id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_photos", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_photos", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) profile_search Recherche de profils
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_search","arguments":{"query":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_search", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_search", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) profile_search_post Recherche de publications du profil
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_search_post","arguments":{"query":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_search_post", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_search_post", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) profile_videos Vidéos du profil
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"profile_videos","arguments":{"user_id":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_videos", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "profile_videos", "arguments": { "user_id": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) url URL
URL
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| url | string | Oui | URL |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"url","arguments":{"url":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "url", "arguments": { "url": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "url", "arguments": { "url": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) video_id_url URL de l'ID vidéo
URL de l'ID vidéo
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| url | string | Oui | URL |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"video_id_url","arguments":{"url":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "video_id_url", "arguments": { "url": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "video_id_url", "arguments": { "url": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) videos Vidéos
Vidéos
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.ca/facebook/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"videos","arguments":{"query":"SOME_STRING_VALUE","end_cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "videos", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.ca/facebook/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "videos", "arguments": { "query": "SOME_STRING_VALUE", "end_cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.ca/facebook/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json())