Posts under category Meta & Facebook

I am experiencing difficulties accessing my Facebook account due to an issue with two-factor authentication (2FA). When attempting to access my account settings, I am prompted to enter a verification code sent via SMS. However, I am not receiving any SMS codes at my registered phone number. I have already verified with my mobile carrier that there are no issues on their end, and they have confirmed that the problem lies with Facebook's SMS delivery system. Please help me resolve this issue so I can regain full access to my account. I am happy to provide any additional information needed to verify my identity or troubleshoot the problem. Looking forward to your response.

I have a multi-tenant application where each tenant (client) can manage their products and interact with their customers through WhatsApp. Here’s my setup and the problem I’m facing:

  • I have 70 tenants in my application, and each tenant needs their own WhatsApp bot to communicate with customers.
  • Each bot requires a unique phone number to function.
  • I am using the WhatsApp Business Cloud API and have an account named XYZ.
  • I was able to add two phone numbers to the XYZ account, but I encountered a limitation when trying to add more numbers.
  • Each bot needs to send and receive messages independently, and I also need to process webhook events for each bot separately to handle tenant-specific logic.

Questions:

  1. How can I support 70 tenants, each with a unique phone number and WhatsApp bot, using the WhatsApp Business Cloud API?
  2. Is there a way to overcome the limitation of adding multiple phone numbers to a single WhatsApp Business Account?
  3. How can I set up and handle webhook events efficiently for each tenant in a multi-tenant architecture?

What I’ve Tried:

  • Adding multiple phone numbers to the XYZ account but encountered a limit after two numbers.
  • Researching WhatsApp’s documentation and community forums but couldn’t find a clear solution for this type of multi-tenant setup.

What I Need:

I’m looking for a scalable solution that:

  • Allows each tenant to have their own bot and unique phone number.
  • Ensures webhook events are processed correctly for each tenant, considering their specific logic.

I am sending a GET request to retrieve an overview of my user conversations, following this documentation.

curl -i -X GET "https://graph.instagram.com/v21.0/$APP_SCOPED_USER_ID/conversations?platform=instagram&access_token=$LONG_ACCESS_TOKEN"                                                                     

Using the Acces Token debugger I have verified that my long-acccess token has the appropriate permissions:

instagram_business_basic, instagram_business_manage_messages, instagram_business_content_publish, instagram_business_manage_comments 

It returns an empty list, even though I have conversations on the Instagram account:

 {"data":[]} 

It return reponse status 200, so I think the request is OK but I don't understand why the list of converstations is empty.

Complete output:

HTTP/2 200  etag: "1050253aec7b29caff644806927dabfa81406eee" content-type: application/json; charset=UTF-8 vary: Origin vary: Accept-Encoding cross-origin-resource-policy: cross-origin x-app-usage: {"call_volume":0,"cpu_time":0} instagram-api-version: v21.0 access-control-allow-origin: * strict-transport-security: max-age=31536000; preload; includeSubDomains pragma: no-cache cache-control: private, no-cache, no-store, must-revalidate expires: Sat, 01 Jan 2000 00:00:00 GMT x-fb-request-id: AJDy8jjnwzoXsbaD81SmtVR x-fb-trace-id: HY/Hc9Ie7Gw x-fb-rev: 1018763301 x-stack: www x-fb-debug: mX0wWU1Pk1etujdU1lsm1/gKHjgAlzKPS2B3sLbBjFtu8xUO0z6NOVizj5u+27ULdvNP5NvardPAZMvOULGr5g== content-length: 11 date: Tue, 10 Dec 2024 19:35:31 GMT x-fb-connection-quality: EXCELLENT; q=0.9, rtt=28, rtx=0, c=16, mss=1380, tbw=3420, tp=-1, tpl=-1, uplat=1367, ullat=0 alt-svc: h3=":443"; ma=86400 {"data":[]}g