Background
I’ve found that there is a way to open a specific contact conversation screen on WhatsApp, here .
Not only that, but I’ve found that an app called “Drupe” does the same, and maybe even more :
The problem
I can’t find any official API of opening it this way, so I’m not sure how safe it is.
I’ve found SDKs, but not intents instructions.
The questions
I’d like to know more about what’s available for various social-networks and chatting apps :
- Facebook Messenger
- Viber
- Line
- Telegram
- Hangouts
Possible features may be:
- open the conversation of a contact, when input is his phone number
- have a new text that will be ready to be sent in the new screen
- for Facebook, maybe also be able to open using the Facebook-ID of the person (meaning this is the input), instead of a phone number.
Are such features available for each of those social networks and chatting apps?
3
Answers
For Facebook-messenger, I've found this (from https://developers.facebook.com/docs/messenger-platform/discovery/m-me-links#format):
It works, but I wonder if there is another way to access it (using phone number, for example).
For WhatsApp, I've found this (from here) :
It works, but it doesn't add the message. It also might say the contact doesn't have WhatsApp.
It's also possible to just use the phone number, as I wrote here.
For Viber, I've found this (from here) :
For Hangouts, it seems it's similar to Viber, but with this mimetype: "vnd.android.cursor.item/vnd.googleplus.profile.comm". Yet, it doesn't work as it probably needs additional steps (setting G+ to keep contacts updated and have the contacts in the G+ circles). However, I've somehow succeeded to open the video chat of a person:
For Telegram, someone (here) suggested using the next code, but it doesn't work:
It's also possible to just use the phone number, as I wrote here.
For Line, I've found these (based on here and here), but none work:
skype: this one works (found from various links, here, for example):
it works for me
Other posts here have good information. I wanted to add for LINE because the information is lacking in many places.