Launching Viber app via URL scheme on iOS

后端 未结 9 1222
野趣味
野趣味 2020-11-30 12:46

I\'m making an iOS app which can open Viber app and automatically call a person or go to chat window with the person. Is there any url scheme for Viber to do that such as:

9条回答
  •  南方客
    南方客 (楼主)
    2020-11-30 13:19

    as for now (26.03.2017), I found this URI are working:

    • viber://add?number=NUMBER - open user page
    • viber://forward?text=foo - share text with selected users
    • viber://chats - opens chat tab
    • viber://calls - opens calls tab
    • ??? - can't find how to open user's/contacts tab
    • viber://public - opens a public tab
    • viber://more - open more tab (the last one in the row)

    and some links to interact with Public Accounts https://developers.viber.com/tools/deep-links/index.html - viber://pa?chatURI=hello&context=abcdefg&text=hi - attempt to wrte hi to hello public account

    support forum: https://support.viber.com/

    and they have chrome extension - https://support.viber.com/customer/en/portal/articles/2191386-new-chrome-web-extension#top

提交回复
热议问题