I am integrating WhatsApp thru gupshup Platform. Need to know how to check opt-In status of a particular number in gupshup api. I gives me the list of all users. After sending the opt-in link to another user I need to check the opt-in status of that user only
Go to your WhatsApp Dashboard, you will see "View Opt-In" WhatsApp Dashboard-Send Message:
You will see list of all Opt-in users
Related
Can I directly send message to recipient using Twilio WhatsApp api without using join [key-word].
Is it because of Twilio Sandbox?
If I send request to enable my Twilio number of WhatsApp, issue will get resolved and I can send messages directly?
The join [key-word] system is just for the Twilio Sandbox for WhatsApp. It allows Twilio to use one WhatsApp number for all accounts that are testing with the Sandbox.
Once you have connected your Twilio number to your WhatsApp business profile you will be able to send messages to your users without requiring them to message you first. Note that WhatsApp does still require an explicit opt-in from your users before you can send to them. Also, for initiating conversations you will need to get template messages approved and then use the template as the first message. But the technical barrier of the join message will not be in your way.
I'm looking into the Twilio Whatsapp API docs, and cannot find anywhere if it is possible to receive a message sent from a website webchat on a Whatsapp Business Account?
I would like to develop the following:
a user is on my website, and has a quesiton. He/she then opens the chatbox and types their question (non-whatsapp). This message is then sent to the Whatsapp Business Account of the Client and they can talk back and forth with the user.
I hope I have been clear enough, please let me know if I need to supply more information.
Twilio developer evangelist here.
I believe that this would be possible to do for one user messaging at a time, but practically and at scale, not really useful.
If you have a user sending a message through a website that is then delivered to a user through WhatsApp, you could build an application that allowed the user on WhatsApp reply to the message and relay that back to the website.
However, if you have one WhatsApp number registered to send messages on behalf of your application and multiple users were sending messages through the website, all the messages would come from that one WhatsApp number and it would be practically impossible for the user responding in WhatsApp to know who they were responding to.
It would likely be better to connect your users via webchat within the web application and use WhatsApp to notify the the client that there are new messages awaiting their reply.
I am using the Twilio API for WhatsApp in a sandbox, for prototyping and testing. According to the Facebook / WhatsApp documentation, there are several types of inbound notifications that may be delivered to your unique Webhook.
Twilio API documentation is very limited and doesn’t mention any of the more advanced scenarios. For example retrieving the customers name, which should be present in every webhook request…
When I inspect the webhook, the body payload is very limited. Is there any way to receive the original channelData?
Apparently, this feature is not implemented yet. I received the following statement from Twilio.
Unfortunately we don't support the Contact name being included in the inbound Whatsapp message posted to your webhook at this time. I've raised a feature request for this with the Product Team in hopes that we'll have this feature available in the near future.
You can get the sender's name using the 'ProfileName' key from the request form.
Is it possible to have an app send a text message/image to multiple email and sms accounts by pressing a single button? I understand that in the background the emails and sms messages are sent consecutively but I'm trying to avoid multiple view controllers being presented to the user. I have seen "iOS doesn't allow you to send e-mails or texts without user interaction" but the user would be pressing a button saying it was sending the message to list of email addresses and sms numbers.
I've been reviewing the materials on the Social Framework and MessageUI.Framework and searching forums but cannot find the information I'm looking for. Is there another framework I should be using?
As an extension Can you use the same button to send the same message to multiple accounts such as a facebook and twitter account?
You can use FacebookSDK for Facebook and (for example) FSHTwitterEngine for Twitter and create your own custom composer and sender. Both this libraries has sources on GitHub, so you can do what you want. But it not so easy way.
Facebook has an example of adding a gifting loop to an app here: https://developers.facebook.com/docs/games/requests/
See "Gifting and Social Trading"
My question is how to check for incoming gift requests so that they can be displayed. All of the examples I have found require that you click on the incoming message within facebook in order to get the request into your app. But that's clearly not what they are demonstrating here.
How do I check for the incoming requests so that I can display them in an inbox without going through the facebook app?
I am guessing that the user in this example did not have to click on each request in the facebook app to get them to show up in their inbox.
The requests a user has received from your app you can be queried via /me/apprequests
https://developers.facebook.com/docs/graph-api/reference/user/apprequests/