Whatsapp:在联系人列表中添加ID并在点击网站

时间:2016-06-19 07:37:46

标签: android share whatsapp

在移动设备友好的网站上与我们联系,我们会添加一个whatsapp链接,以便用户开始与特定的WhatsApp帐户(附在网站上)聊天。

其次,上述帐户/ ID也会自动添加到用户的联系人列表中。

我尝试了以下方法,但对我来说无法按照指定开始聊天或添加联系人:

whatsapp://send?text=join%20me%20on%20TELEPHONE_NUMBER_HERE%20%3A)


href="intent://send/#Intent;scheme=whatsapp;package=com.whatsapp;s.text=test;end;"

或:

href="intent://send/#Intent;scheme=whatsapp;package=com.whatsapp;text=test;
     action=android.content.Intent.ACTION_SEND; end"

或:

href="intent://send/#Intent;scheme=whatsapp;package=com.whatsapp;text=test;
      category=android.intent.category.BROWSABLE;end"

href="intent://send/[countrycode_without_plus][number]#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end

href="intent://send/4912345678#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end

任何想法?

由于

1 个答案:

答案 0 :(得分:0)

再试一次,但你必须更换 [countrycode_without_plus] =您的完整国家/地区代码 [number] =完整号码

href="intent://send/[countrycode_without_plus][number]#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end

例如我来自墨西哥,国家代码为“52”,但完整的代码在我的国家是“521”,然后是数字的10位数。

如果你不知道如何写你的号码,只需添加为联系人,看看whatsapp如何显示你的号码。

如果您有其他问题,请告诉我。