Using Whatsapp Business API number in API and in app - facebook

I've recently been trying to get all messages sent and received by a Whatsapp Business account. At the moment im using the MessageBird API in order to do this, but as soon as I add the phone number in Facebook Whatsapp Manager im not able to use the number on the Whatsapp Business App. (Phonenumber is invalid)
What am I doing wrong? All I want to do is:
Use the phonenumber in the WA Business App to send and receive messages.
Use the phonenumber in the MessageBird API to get a list of conversations and all messages sent and received in this conversation.

Unfortunately, this is not possible. Once the number is registered with WhatsApp Business API it cannot be used with the Consumer or SMB App.
https://developers.facebook.com/docs/whatsapp/guides/phone-number#pick-number

Related

How to check if a number has a whatsapp account?

We have configured the WhatsApp cloud API (not as a BSP). We use a messages endpoint to send messages to our customers. But we need to validate if the customer number has a WhatsApp account associated with it.
Is there any endpoint available to check if a number has a WhatsApp account? Kindly Help.
There is an option in On-premises API using contacts API but there is no option for Cloud API.
Hope they will provide in the future.

Flutter WhatsApp Sending Message Without User Interaction

I'm new in flutter and I have trying to search a way to send automatic message in background on whatsapp and I couldn't find anything about it. I have found that it is possible to send an sms without user interaction in flutter but I want to send a message through whatsapp without user interaction at all..
Any one know if there is any way to do this ?
Thank you .
You can use third-party services like Twilio Whatsapp API Service. It's a paid service. You can find all the documentation here - https://www.twilio.com/docs/whatsapp
You can submit a contact form to WhatsApp directly https://developers.facebook.com/products/whatsapp they will contact you with their pricing.

Start conversation without user interaction in Facebook Messenger

Is it possible to send a message to a user without the user interacting with the bot first?
I'm using the following guide to retrieve psids from users that have already connected their profile to an app that I own.
https://developers.facebook.com/docs/messenger-platform/connecting-accounts.
For users that have at least one interaction with a page that I also own, I'm able to get their id. For all other users the endpoint returns an empty array.
Im aware of customer matching but is that the only way to achieve this?
You can't send a message by bot before the user initializes the conversation.
Facebook Messanger Bot permits a standard messages, with a 24-hour interval
to reply to a message initiated by a user. In Some specific cases, Facebook permits to send a message after this time.
A message are triggerd when the user either sends a message to a company or clicks a call button for action in Messenger, or when the user requests a message from a company through a plugin, such as send to Messenger.
Check out the policies here : https://developers.facebook.com/docs/messenger-platform/policy-overview
You are correct, customer matching is your only option for this.
Just learned this today, if you have a user's phone number, you can message them unprompted. You also need the pages_messaging_phone_number permission, which you can only get by paying the $99 customer matching fee.
Check the docs on sending to phone numbers here. Customer matching docs here

how to get user's skype status

i'm developing an android application that will send notifications to users, one of the ways it notify is via skype, i need to know the user's status to trust that the user is going to read the message since it seems i can send skype messages even when the target user is offline.
im using https://docs.botframework.com/en-us/restapi/connector/ bot's API to send the messages
¿is there anyway to get the current status(online, away, etc..) of an especific skype user?
since it seems they no longer offer "mystatus.skype.com" service.

How to send mass notification to all users who is using my application

i am developing a Facebook application using PHP SDK. According to FB Developer docs, notifications can be send with this metdod;
POST /{recipient_userid}/notifications?access_token= … &template= … &href= …
but This Methot let me send notification to user with "{recipient_userid}" value. But i am trying to send all users a notification. How can i do it?
By finding all members who is using Application and in a loop one by one Notification sending?
thank you for your Help.
I haven't try this yet but i think facebook batch requests is the answer.
https://developers.facebook.com/docs/reference/api/batch/
I frequently have to send notification to all my app users (about 30000 users) and it takes too long. Sending by one by method can't let you send instant notification for all your users, if it works, then it will be also possible.