How can I check the messages that I received from whatsapp business API? - facebook

We are using an integration with whatsapp business API and it is working great, but we need to check if we have a new message or if the user have replied, we try it to use the whatsapp business app, but we can't access to the app and it seems like that whatsapp doesn't allow to use the App and API with the same number, then is there any way to check the messages like an app or dashboard?
I have been investigating in internet but I cannot find any solutions for that

Related

Whatsapp API integration - how to add mobile number through API?

I am building a web application, where I need to allow users to verify their mobile number and then send Whatsapp messages to their contacts. The problem is I can't find any API endpoint on Facebook documentation for adding mobile number. The application will provide service something similar to Twilio or SendInBlue. However, I can't find a way to do it. Please let me know if anyone knows anything about it.

I need help creating a Whatsapp chatbot

Is there at this moment a reliable way to build a chatbot for Whatsapp? There are some Whatsapp frameworks like this one but looking at the comments it looks like most of Whatsapp numbers got banned when using these. Also, Twilio for example has an API for Whatsapp but it is only for testing.
Thanks in advance!
Currently the WhatsApp API is still in beta and you need to wait for the API to be officially open to everyone. Still you can make a request to get access to their API in advance https://www.facebook.com/business/m/whatsapp/business-api
Twilio now directly supports WhatsApp integration; simply fill out Twilio's Request Access form with accurate and up-to-date information, including the Facebook Business Manager ID, and securely send WhatsApp messages using Twilio APIs.
And, in general, there are numerous approaches to developing a WhatsApp chatbot. However, there are some fundamental considerations to bear in mind when creating a WhatsApp chatbot.
Whatsapp business API
Chatbot builder platform
To build a chatbot I suggest Kommunicate for creating a simple and seamless chatbot. Kommunicate includes a bot builder tool called Kompose, which allows you to create bots without writing a single line of code. You can build AI-powered chatbots, deploy them on your website and apps, and even incorporate automated human takeovers if they fail. For detailed instructions on how to build a chatbot, please see this article. Kommunicate also lets you integrate with other third-party bot builder platforms such as Dialogflow, Amazon lex, IBM Watson, and custom bots.
Once the Twilio account has been configured with the WhatsApp Business API, connect it to the Kommunicate account to deploy the chatbot and manage customer conversations. Refer to this link for detailed instructions
PS: I work for Kommunicate

Skype integration issue

I'm new in iOS development. But anyway now I can: post private messages to my friends on Facebook and Twitter.
Is there any way to post message to my skype contact's?
Does skype provide any API for iOS to post message to skype contact's?
Is there any way to gain skype contacts information (email, phone number), so to be able to post email/SMS to skype contact directly?
What is the best way to post data to my skype contacts?
No currently there is no public API is provided for iOS.
You can check their documents skypekit and api reference for more details.
You can use Skype Uri for communicating with skype from your APP.
Try look at this repositories
Projects on Objective-C with Skype support
Sevabot Skype bot provides a HTTP interface for sending Skype messages:
https://github.com/opensourcehacker/sevabot
(Disclaimer: I am author of the project)
However, using this solution means that you need to have a Skype client running on your server.

Is there any way to connect to the Facebook chat service without using the XMPP protocol?

I am trying to create an application that will basically be a Linux command line messenger app just for Facebook chat. When you connect to facebook chat using the XMPProtocol, you can send instant messages to all of your friends but you can only see the messages from the friends that appear online. If an offline friend sends you a message, you do not see it. I have tested this with various chat programs (like pidgin) that are using XMPP to connect to facebook chat.
There is an iPhone app called "Messenger" that allows you to send and receive instant messages even when your friends appear to be offline. How is this possible? Do you have to use some other protocol? I tried making a research about this, and while there were many references about XMPP basically having this limit, there was no reference about how you solve this problem. I'd appreciate any clue regarding the direction I should look (may that be just the name of a protocol, an open source project that has this feature etc).
chat and inbox are two faces of the same Facebook backend ...so i mean you can read message sent by your Facebook friends by Graph Api http GET as this ... https://graph.facebook.com/me/inbox?access_token=xxxxxx

How to share from iphone app to any windows phone 7 app?

Let's say I have app on iPhone and Windows Phone 7. How to share (ex. Note) between my both apps, regardless any platform.
Update
Guess this question is very broad, my bad.
Be more specific, I want the user to go through his contact list and share through my app. How do I identify if the other user installed my app? and what platform he/she using?
Using the contact list isn't a good way to "share" in this regard.
You're asking two questions here:
How to build a system to share data between two mobile clients, irrespective of platform?
How to best enable users to find their friends to share data?
Let's start with the 2nd question.
I would leverage services like Twitter and Facebook and have your app connect with your users facebook account. This is a well known approach, and avoids having to roll your own account system.
With facebook as an example:
Facebook connect, you can get the facebookID of your user, as well as their friends facebookID. You'll need a backend webservice which you can query users by fbID.
When a user opts to use their facebook account, store their FacebookID on your backend service. Then using facebook's api's get a list of their friends facebookID's. Your app will lookup each ID using your backend service, and if it finds one, then you know that friend has also installed the app, and connected it to facebook.
So if Alice installed your app, connects to facebook, and she is friends with Bob, who also has installed your app, your back end service would return that Bob's facebookID is known to your app, and thus the two of them can share to each other using some protocol that you design.
If their friend's ID isn't known to your system, I would send them a facebook message, or post on thier wall with a restful link that invites them to check out the note you want to share on the web, and place the link to the app on the same page.
Due to the high level of your question, this answer is a bit of a 20,000ft view, and assumes you know how to build a web service.
If you want to see a great example of an app that makes use Facebook and or Twitter to find friends who also use the same app, I recommend checking out Groupme. It's free, and available for WP7, iPhone, and Android. It's a group SMS app, and uses your contact list, facebook, and twitter, to setup friends.
For the first question, you'll need to make use of a backend webservice. User would elect to share either in-app, or by posting to their facebook, with a weblink. In-app sharing, I would use an inbox approach. A user posts a message to their friend, and it gets stored in a queue. The app periodically checks the users queue to see if any new "shares" have been posted. If so, get that data, and present it to the user. Your back end service should also take advantage of newer app concepts like push notifications, because thats what users expect.
I would suggest using a web service such as Parse. This will allow you to focus on your app development and not worry about server coding.
Currently they do not have a Windows Phone 7 SDK but it is just a matter of making the REST requests manually to the service.