MCP
فيسبوكخادم MCP
حوالي 2 مليار مستخدم يوميًا يشاركون المنشورات والصور ومقاطع الفيديو والمجموعات والأحداث وقوائم المتجر على فيسبوك، مما يجعله مهمًا للوصول إلى المجتمع وخدمة العملاء والاكتشاف المحلي والتجارة الاجتماعية.
MCP الإصدار: 1.0.0 29 أدوات MCP المصادقة
عنوان URL الأساسي
https://mcp.pressmonitor.com/mcp المصادقة
تستخدم مكالمات MCP أيضًا رموز Bearer عبر طلبات JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN events_search
بحث في الأحداث
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| query | string | نعم | استعلام البحث |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
الحصول على المنشور
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| post_id | string | نعم | معرّف المنشور |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
معلومات المجموعة
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| id | string | نعم | المعرّف |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
منتج السوق
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| product_id | string | نعم | معرّف المنتج |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
ملف السوق
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| user_id | string | نعم | معرّف المستخدم |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
بحث في السوق
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| query | string | نعم | استعلام البحث |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
ألبومات الصفحة
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| id | string | نعم | المعرّف |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
تفاصيل الصفحة
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| id | string | نعم | المعرّف |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
تغذية الصفحة
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| id | string | نعم | المعرّف |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
بحث في الصفحات
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| query | string | نعم | استعلام البحث |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
بحث في منشورات الصفحات
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| query | string | نعم | استعلام البحث |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
تعليقات المنشور
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| post_id | string | نعم | معرّف المنشور |
| end_cursor | string | لا | مؤشر النهاية |
| order | string | لا | الترتيب |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
تفاعلات المنشور
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| post_id | string | نعم | معرّف المنشور |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
عدد تفاعلات المنشور
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| post_id | string | نعم | معرّف المنشور |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
بحث في المنشورات
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| query | string | نعم | استعلام البحث |
| date_posted | string | لا | تاريخ النشر |
| end_cursor | string | لا | مؤشر النهاية |
| end_date | string | لا | تاريخ الانتهاء |
| recent_posts | string | لا | المنشورات الأخيرة |
| start_date | string | لا | تاريخ البدء |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
بحث في منشورات
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| query | string | نعم | استعلام البحث |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
حول الملف الشخصي
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| user_id | string | نعم | معرّف المستخدم |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
ألبومات الملف الشخصي
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| user_id | string | نعم | معرّف المستخدم |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
تغذية الملف الشخصي
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| user_id | string | نعم | معرّف المستخدم |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
أصدقاء الملف الشخصي
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| user_id | string | نعم | معرّف المستخدم |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
إعجابات الملف الشخصي
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| user_id | string | نعم | معرّف المستخدم |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
صفحة الملف الشخصي
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| user_id | string | نعم | معرّف المستخدم |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
صور الملف الشخصي
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| user_id | string | نعم | معرّف المستخدم |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
بحث في الملف الشخصي
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| query | string | نعم | استعلام البحث |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
بحث في منشورات الملف الشخصي
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| query | string | نعم | استعلام البحث |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
فيديوهات الملف الشخصي
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| user_id | string | نعم | معرّف المستخدم |
| end_cursor | string | لا | مؤشر النهاية |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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 | string | نعم | الرابط |
أمثلة الشيفرة
curl -X POST "https://mcp.pressmonitor.com/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
}'