openUrl / URI to a Skype For Business account

*爱你&永不变心* 提交于 2019-12-25 06:32:53

问题


There have been questions about Skype For Business URIs (Skype for business URI instead of Skype) but I can't find a solution that covers our business needs for both webpage links and iOS / Android openUrl / intent situations. (Note: this is not about normal skype URIs as per https://msdn.microsoft.com/EN-US/library/office/dn745882.aspx).

I would like a public user with an unopened (normal) Skype desktop client or Skype app to be able to launch a chat to a reception of a business via a website or iOS link. That business has a 'Skype For Business' account, which as far as I can see doesn't have a Skype ID.

This didn't work for me: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sip:reception@business.com"]]; Nor: <a href="sip:reception@business.com">Chat</a>

Is our only solution for the website to give instructions like:

  1. Open Skype
  2. Add contact
  3. Search for reception@business.com
  4. Then message us

Can a Skype For Business account be messaged without adding the contact first?


回答1:


I belive that is missing the 2-slashes for url schemes in iOS, try:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sip://reception@business.com"]]

I found your question because I was looking for the SilentPhone url scheme "sip://" or "silenphone://", that use the same as this Skype for Business



来源:https://stackoverflow.com/questions/38725656/openurl-uri-to-a-skype-for-business-account

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!