Your AI Connector Docs

ربط فيسبوك وإنستغرام

قم بربط صفحتك على Facebook وحسابك على Instagram بالمنصة حتى تتمكن من إدارة محادثات Messenger وInstagram DM من لوحة تحكم واحدة — مع خيار الأتمتة بواسطة الذكاء الاصطناعي.

تغطي هذه الصفحة اتصال Meta الرسمي فقط. يتم الاتصال عبر فيسبوك، ويتطلب حساب Instagram للأعمال (Business) أو منشئ محتوى (Creator) — لا يمكن ربط حساب Instagram شخصي بهذه الطريقة. يتم ربط حساب الأعمال أو منشئ المحتوى الذي لا يحتوي على صفحة فيسبوك عبر الاتصال بـ Instagram (راجع رسائل Instagram المباشرة)؛ بينما لا يزال Facebook Messenger يتطلب صفحة. بالنسبة للحساب الشخصي، راجع Instagram (الشخصي)، والذي تقوم بربطه عن طريق تسجيل الدخول باستخدام اسم مستخدم وكلمة مرور Instagram بدلاً من ذلك.


لماذا يجب ربط فيسبوك وإنستغرام؟

من خلال ربط حساباتك، يمكنك إدارة جميع محادثات Facebook Messenger وInstagram DM في مكان واحد بدلاً من التنقل بين التطبيقات. يمكنك أيضاً السماح لوكيل الذكاء الاصطناعي بالرد تلقائياً على الرسائل والتعليقات وجذب العملاء المحتملين. يقوم الذكاء الاصطناعي بالرد على الأشخاص الذين يرسلون رسائل أو يعلقون أولاً؛ فهو لا يبدأ المحادثات مع الأشخاص الذين لم يقوموا بذلك.

المتطلبات الأساسية

قبل البدء، تأكد من توفر ما يلي:

  • صفحة فيسبوك لنشاطك التجاري (الملفات الشخصية لا تُدعم).
  • حساب Instagram تجاري أو حساب منشئ محتوى مرتبط بصفحة فيسبوك تلك. إذا كان حساب Instagram الخاص بك لا يزال مضبوطاً على “شخصي”، فقم بتحويله إلى تجاري أو منشئ محتوى من إعدادات Instagram أولاً.
  • حساب Meta للأعمال (المعروف سابقاً بـ Facebook Business Manager) الذي يمتلك الصفحة أو لديه صلاحية الوصول كمسؤول إليها.
  • صلاحية الوصول كمسؤول لكل من صفحة فيسبوك وحساب Instagram.
  • تفعيل الوصول إلى الرسائل داخل Instagram. في تطبيق Instagram، انتقل إلى الإعدادات والخصوصية ← الرسائل والردود على القصص ← الأدوات المتصلة وقم بتفعيل السماح بالوصول إلى الرسائل. تختلف صياغة القائمة الدقيقة حسب نوع الحساب وإصدار التطبيق - في بعضها تقع تحت أدوات وعناصر تحكم الأعمال أو أدوات وعناصر تحكم منشئ المحتوى. إذا تم إيقاف هذا الخيار، فلن يقوم Instagram بتسليم رسائلك المباشرة (DMs) إلى أي أداة خارجية، لذا قد يبدو الاتصال مكتملاً بينما لا تصل أي رسائل.

تلميح: إذا لم تكن متأكدًا مما إذا كان حسابك على Instagram مرتبطًا بصفحتك على Facebook، فافتح إعدادات صفحتك على Facebook وابحث عن “الحسابات المرتبطة” (Linked Accounts) أو “Instagram” في الشريط الجانبي.


ربط حساباتك

  1. في الشريط الجانبي الأيسر، انقر على Settings (الإعدادات) بالقرب من الأسفل.
  2. في القائمة الجانبية للإعدادات، تحت Channels (القنوات)، انقر على Channels (القنوات).
  3. ابحث عن بطاقة Instagram & Messenger وانقر على Connect (اتصال).
  1. ستفتح نافذة تسجيل دخول Facebook في علامة تبويب جديدة، وسيظهر في التطبيق تذكير يبقى على الشاشة: “Continue in the Meta window. Once it connects, pick a page below.” (تابع في نافذة Meta. بمجرد الاتصال، اختر صفحة من الأسفل). قم بتسجيل الدخول باستخدام حساب Facebook الذي يمتلك صلاحية المسؤول (admin access) لحساب Meta Business الخاص بك وللصفحة (وليس ملفاً شخصياً يتابع الصفحة فقط).
  1. اختر Business portfolio (محفظة الأعمال) الخاصة بك عند مطالبتك بذلك.
  2. اختر Facebook Page (صفحة فيسبوك) التي تريد ربطها.
  3. اختر Instagram profile (ملف تعريف إنستغرام) المرتبط بتلك الصفحة.

التعامل مع مطالبة “إنشاء مجموعة بيانات الحدث” (Create Event Data Set)

أثناء عملية الربط، قد يعرض Facebook رسالة تطلب منك “إنشاء مجموعة بيانات حدث” (create an event data set). هذا مطلب قياسي من Meta. ببساطة انقر على Continue (متابعة) للمضي قدماً — لا يلزم إجراء أي إعدادات إضافية من جانبك.

التعامل مع الأخطاء

إذا ظهرت لك رسالة خطأ مثل “حدث خطأ ما” (something went wrong):

  1. ارجع خطوة واحدة للخلف في مربع حوار الربط وحاول مرة أخرى.
  2. إذا استمر الخطأ، أغلق نافذة الربط تماماً وأعد بدء العملية من Settings → Channels → Channels → Instagram & Messenger → Connect.
  3. تأكد من أن متصفحك لا يحظر النوافذ المنبثقة من Facebook.
  4. امسح ذاكرة التخزين المؤقت وملفات تعريف الارتباط (cookies) الخاصة بـ Facebook في متصفحك إذا استمرت المشكلات.

اختيار الصفحة المراد استخدامها

بعد تسجيل الدخول باستخدام فيسبوك، تقوم المنصة بتحميل جميع صفحات فيسبوك التي يمكنك الوصول إليها. ستحتاج بعد ذلك إلى تحديد الصفحة التي تريد استخدامها للمراسلة.

في بطاقة Instagram & Messenger، اختر الصفحة التي تريدها — ستظهر علامة اختيار بمجرد تحديدها.

  • إذا كان لديك صفحة واحدة فقط، فسيتم اختيارها لك تلقائيًا.
  • إذا كان لديك أكثر من صفحة واحدة، فيجب عليك اختيار واحدة بنفسك — وإلى أن تقوم بذلك، ستعرض البطاقة اختر صفحة، ولن يكون Facebook Messenger وInstagram متاحين عند إنشاء مسار محادثة، على الرغم من نجاح الاتصال نفسه.
  • إذا كانت البطاقة تعرض لم تتم مشاركة أي صفحة، فهذا يعني أن Facebook لم يمنح المنصة حق الوصول إلى أي صفحة أثناء تسجيل الدخول. انقر على إعادة الاتصال، وفي شاشة Facebook، حدد صفحتك (وحساب Instagram الخاص بها). إذا ظهرت رسالة لم يتم تحميل الصفحات، فهذا يعني فشل تحميل صفحاتك: انقر على إعادة الاتصال للمحاولة مرة أخرى.

هام: لا يعمل Instagram إلا إذا كانت صفحة Facebook التي اخترتها تحتوي على حساب Instagram للأعمال أو للمبدعين مرتبط بها. يمكن استخدام صفحة لا تحتوي على حساب Instagram مرتبط لـ Facebook Messenger، ولكن لن تكون رسائل Instagram المباشرة (DMs) متاحة لتلك الصفحة. ستخبرك البطاقة بذلك مباشرة، بجوار اسم الصفحة: “No Instagram on this page.” (لا يوجد إنستغرام في هذه الصفحة).

لاستخدام Instagram، اختر صفحة مرتبطة بالفعل بـ Instagram، أو اربط حساب Instagram الاحترافي الخاص بك بهذه الصفحة في إعدادات Meta الخاصة بك ثم انقر على Reconnect (إعادة الاتصال).


أوضاع التعامل مع الرسائل

بمجرد الربط، يمكنك التحكم في كيفية تعامل المنصة مع الرسائل الواردة من Facebook Messenger وInstagram DM. هناك نهجان رئيسيان.

الأتمتة الكاملة

يتم تحديد من يقوم بالرد على محادثة جديدة عبر Messenger أو Instagram DM في صفحة وكلاء الذكاء الاصطناعي (AI Agents)، ضمن لوحة من يرد على المحادثات الجديدة (Who answers new conversations). إذا كان لديك وكيل ذكاء اصطناعي نشط واحد فقط، فإنه يرد على كل قناة متصلة تلقائياً (تظهر اللوحة ذلك كـ “وكيلك الوحيد”)، ما لم تقم بتعيين قناة على لا أحد يرد (No one’s answering). مع وجود وكيلين نشطين أو أكثر، لا يتم اختيار أي شيء نيابة عنك: اختر الوكيل لكل قناة في تلك اللوحة، أو أضف نقطة دخول. القناة التي لا تحتوي على أي منهما لن تتلقى رداً تلقائياً.

هذا هو الخيار الأبسط — قم بالربط واترك الذكاء الاصطناعي يقوم بالباقي.

الأتمتة الانتقائية

إذا كنت ترغب في التعامل مع معظم المحادثات يدويًا ولكن لا تزال تستخدم المنصة كصندوق وارد خاص بك:

  1. افتح صفحة وكلاء الذكاء الاصطناعي (AI Agents) وقم بتوسيع من يرد على المحادثات الجديدة (Who answers new conversations).
  2. اضبط قناة Instagram أو Messenger الخاصة بك على لا أحد يرد (No one’s answering).

ستظهر جميع الرسائل في الدردشات (Chats)، لكن الذكاء الاصطناعي لن يستجيب تلقائياً. يمكنك الرد يدوياً في أي وقت.

تشغيل مسارات متعددة

يمكنك الحصول على أكثر من وكيل (Agent) يتعامل مع نفس اتصال فيسبوك/إنستغرام: تحدد نقاط الدخول (Entry Points) الخاصة بك أي وكيل سيجيب على كل محادثة جديدة (على سبيل المثال، قاعدة كلمات مفتاحية لعرض معين ووكيل عام لكل شيء آخر)، ويمكنك إيقاف تشغيل الذكاء الاصطناعي لأي محادثة فردية في أي وقت.

لا يتم إرسال البث (Broadcasts) على فيسبوك أو إنستغرام. بل يتم إرسالها عبر واتساب (Business API وWhatsApp Web) والرسائل القصيرة (SMS) فقط. راجع وكلاء الذكاء الاصطناعي والانتقال من الحملات إلى البث والوكلاء لمعرفة كيفية عمل الوكلاء والبث ونقاط الدخول معاً.


البقاء متصلاً

تحافظ المنصة تلقائيًا على نشاط اتصال Facebook و Instagram الخاص بك في الخلفية. لا تحتاج إلى إعادة توصيل حساباتك بشكل دوري. إذا انقطع الاتصال بشكل غير متوقع (على سبيل المثال، إذا قمت بتغيير كلمة مرور Facebook الخاصة بك)، فستقوم المنصة بإخطارك ومطالبتك بإعادة الاتصال.


استكشاف الأخطاء وإصلاحها

Problem Solution
Connection fails during Facebook login Make sure pop-ups are allowed. Try a different browser or incognito mode.
Instagram account does not appear Confirm that your Instagram account is set to Business or Creator and is linked to the Facebook Page you selected.
Messages are not arriving in the app Check that the correct Page is connected on the Instagram & Messenger card. Verify that you have an active Agent or Entry Point assigned to the channel. If the card shows an Instagram blocked badge, use the row below. Note the reverse is not a guarantee: Instagram does not always tell us why it is withholding messages, so DMs can still fail to arrive while the card looks normal. If that happens, turn on both message-access switches (Allow access to messages under Connected tools in the Instagram app, and Allow access to Instagram messages in Inbox under the Page’s Linked accounts on facebook.com), then reconnect from scratch: disconnect the card, remove the connected app under the Page’s Business integrations on facebook.com, and connect again. Facebook must show its permission screen during that reconnect; if it skips straight to the Page picker, the old permission was reused. Still nothing after that? Contact support.
The card says Instagram blocked We have positive confirmation from Instagram that it is refusing our connection for that account, so DMs will not arrive. The badge names the reason. If it points at message access, turn on Allow access to messages under Connected tools in the Instagram app. If it says the connection expired, click Reconnect here and sign in with Facebook again. The same check runs for an Instagram account connected with Connect with Instagram (no Facebook Page).
The card says Re-auth needed on a Page without Instagram The Page’s connection to Facebook has expired or was revoked, so Messenger messages stop arriving and replies stop going out. Click Reconnect and sign in with Facebook again to restore it.
The card says Instagram not delivering No Instagram DM has reached the app for this account since it was connected (Messenger is checked separately). The warning only clears when the first real Instagram message arrives; reconnecting alone does not remove it. Send a test DM to the Instagram account from another Instagram profile: if it shows up in Chats, the warning goes away by itself. If it does not, turn on Allow access to messages under Connected tools in the Instagram app, on that exact Instagram account, and check the Page’s Linked accounts switch on facebook.com. When you reconnect, sign in with the Facebook profile that manages the Page; if the Page picker does not list it, that login has no access to it.
Instagram or Messenger can’t be selected when building a flow You have not selected a Page yet. Go to the Instagram & Messenger card and click the Page you want to use. With multiple Pages, nothing is selected automatically.
Instagram still can’t be selected after picking a Page The Page you selected has no Instagram account linked to it. The card will say “No Instagram on this page.” Link an Instagram Business or Creator account to that Page in your Meta settings and click Reconnect, or select a different Page that already has Instagram linked. Messenger works either way.
Settings shows Instagram as connected but I can’t pick it elsewhere Same cause as above — the selected Page has no linked Instagram account. Follow the step above to link Instagram or switch Pages.
AI Agent is not responding Check that an enabled Entry Point covers the Facebook or Instagram channel, then confirm the Agent is Active, not Paused, on the AI Agents list. A new Agent answers from the moment it is created; only later edits to its instructions or reply settings wait for Publish to live.
AI replied at first, then went quiet on a conversation Replying to that conversation yourself from the Instagram or Messenger app (or the Meta Business Suite inbox) pauses the AI on it, so it does not talk over you. Open the chat in Chats and turn the AI toggle at the top back on — it reads “AI paused” while the AI is off.
Meta says “We couldn’t give … access to your WhatsApp account. Click Retry” and the login stops During the Facebook login, Meta can show an extra screen offering to share the WhatsApp accounts in your business portfolio. When Meta cannot grant that WhatsApp access, it shows this error (often with a code like #3441136) and cancels the whole login, even for a portfolio admin, so retrying the same way does not help. Start the Instagram & Messenger connection again and, on Meta’s WhatsApp screen, untick every WhatsApp account so only the Facebook Page and Instagram account are shared. Instagram and Messenger do not need WhatsApp access; WhatsApp connects separately on its own card.
Meta shows “You don’t have access. This feature isn’t available to you yet.” and the login stops Meta is limiting business tools on the Facebook profile you signed in with (common on new or recently restricted profiles), so it never hands the login back to the app. Opening business.facebook.com with that profile shows the same message. Sign in with a different Facebook profile that is an admin of the Page instead (add one under the Page’s settings on facebook.com if needed), or wait until Meta lifts the limit on your profile.
“Something went wrong” error Go back one step and retry. If it persists, close the window and start over. Clear browser cache if needed.
Multiple profiles and wrong one is selected If you manage multiple Pages or Instagram accounts, make sure you select the correct ones during the connection flow. You can disconnect and reconnect to change the selection.
“This Meta page is already connected to another account” The Page (or its linked Instagram account) is connected to a different account. Sign in to that account and disconnect the Page first (Settings → Channels → Channels → Instagram & Messenger → Disconnect), then connect it here. Common when moving a Page between accounts.

الخطوات التالية