MCP
Facebook Monitor MCP सर्वर
The AI-powered Facebook provides 360° Global Media Data & Intelligence on Facebook pages, groups, community managers, advertisers, and platform policy teams.
MCP संस्करण: 1.0.0 3 MCP टूल्स प्रमाणीकरण
बेस URL
https://pressmonitor.co.in/mcp प्रमाणीकरण
MCP कॉल के लिए प्रत्येक JSON-RPC 2.0 अनुरोध पर x-api-key और x-subscription-id हेडर आवश्यक हैं।
x-api-key: YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID facebook_user
Get Facebook user profile data by username
तर्क
| नाम | प्रकार | आवश्यक | विवरण |
|---|---|---|---|
| username | string | हां | Username |
कोड उदाहरण
curl -X POST \
"https://pressmonitor.co.in/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "facebook_user",
"arguments": {
"username": "VALUE"
}
},
"id": 1
}' facebook_page
Get Facebook page data by page_id
तर्क
| नाम | प्रकार | आवश्यक | विवरण |
|---|---|---|---|
| page_id | string | हां | Page ID |
कोड उदाहरण
curl -X POST \
"https://pressmonitor.co.in/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "facebook_page",
"arguments": {
"page_id": "VALUE"
}
},
"id": 1
}' facebook_posts
Get Facebook page posts by page_id
तर्क
| नाम | प्रकार | आवश्यक | विवरण |
|---|---|---|---|
| page_id | string | हां | Page ID |
| limit | integer | नहीं | Number of results |
कोड उदाहरण
curl -X POST \
"https://pressmonitor.co.in/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "facebook_posts",
"arguments": {
"page_id": "VALUE",
"limit": 0
}
},
"id": 1
}' 