HTML Viber链接到特定编号 [英] HTML Viber link to specific number

查看:159
本文介绍了HTML Viber链接到特定编号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要帮助以在我的应用程序中实现Viber编号.它应该使用Viber聊天选项直接连接用户,并且应该在需要发送消息的位置添加特定的号码.是否可以通过HTML做到这一点?可能是其他方式吗?

I need help to implement Viber number in my application. It should connect user directly with Viber chat option and it should add specific number where message need to be send. Is it possible to do this through HTML? What could be other way?

推荐答案

与用户打开虚拟聊天:

<a href="viber://chat/?number=%2BPHONENUMBERWITHCOUNTRYCODE">Viber Chat</a>

*重要!该数字应使用"%2B "而不是" + ".

*IMPORTANT! the number should be with "%2B" instead of "+".

您还可以打开Viber联系人,以便用户可以选择通话或聊天.

You can also open Viber contact, so a user will be able to choose call or chat.

编辑:联系人链接似乎已于2019年2月停止工作.聊天链接仍然有效

Looks like contact link stopped working on February 2019. Chat link still works

<a href="viber://contact?number=%2BPHONENUMBERWITHCOUNTRYCODE">Viber Contact</a>

这篇关于HTML Viber链接到特定编号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆