How to check if a number has a whatsapp account? - facebook

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.

Related

Using Whatsapp Business API number in API and in app

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

How to enable Facebook Business API for Whatsapp Connection

I am trying to connect my WhatsApp Business Account with Facebook so that it shows my business name. As per https://www.facebook.com/business/help/2087193751603668?helpref=faq_content there shall be an option for WhatsApp Account in business.facebook.com under 'Business Settings' > Accounts. But it is not there. It also says:
If the WhatsApp accounts option is not visible, the Business API may
not be available to you yet.
So can anyone guide how to get Business API access?
https://developers.facebook.com/docs/whatsapp/faq#faq_1807206352701689:
How do I get the WhatsApp Business API?
In order to ensure a high quality experience for businesses and users, we're in a limited public preview. If you'd like to work with us, submit more information about your business for consideration as we continue to expand our availability, or reach out to your Facebook representative if you already have one.
If you have such a representative available, reach out to them; otherwise, you will simply have to wait until this becomes available to everyone.

Twilio Push credentials with multiple accounts

At our company, we have a telecommunication platform based on Twilio with multiple sub-accounts. Now, that we want to switch to VOIP, we have a little problem on how to properly setup the Mobile Push Credentials.
Is there a way to set it up on the master account ?
or the process of creating, signing up the certificate should be done on each account separately ?
I did not found anything on the documentation regarding this issue.
Twilio developer evangelist here.
Master and sub-accounts are best for separating billing amongst customers that you have, so it is not possible for sub-accounts to use resources from the master account.
You could automate the process of creating the certificates for each sub-account using the Credentials REST API though.

Facebook Chat limitations

My company develop a product for customer support on Facebook and we want to give the representatives a way to contact the customer via Facebook Chat.
I have read the Chat API documentations and it is not clear whether users MUST be friends on Facebook in order to chat or is it just enough they both installed a Facebook app? more limitations?
any insight will be appreciated.
Thanks in advance for you answers,
Yaniv Hakim
Facebook provides an XMPP port to the outside world while internally it implements MQTT. As per XMPP specs, messaging works between two entities without they being in each other roster list (friend/contact list). However, Facebook seems to have this limitation as part of their own business requirement. I think even GoogleTalk disallows this if two federated entities try to send message to each other without being on the roster list.
In short, yes you can just send the message. You don't need a presence authorization from someone in order to send messages to them (in XMPP world). HOWEVER, some services has a policy of requiring this, despite the fact that this is not mandated by the XMPP specifications.

How to import contact details from MSN, yahoo, gmail, aol in asp.net?

I am having difficult time in importing contact details from MSN/YAHOO/AOL/GMAIL etc. Can someone tell me how to get the contacts from these networks?
Yahoo Address Book API
Google Contacts API
Windows Live Contacts API
One of the ways is to use the open source library SocialAuth.net
It allows you to get contacts from all the three above, with a very simple API.
CloudSponge.com is a platform that gives you access to these sources and more in a single integration. We use OAuth's 3-legged authentication for services that support it so your users never give their password away. And we have tools to make it easy to integrate; use our widget and get up and running in minutes or use our API and customize every pixel of the user experience.
http://www.cloudsponge.com/developer/