Create application link to Skype profile

纵饮孤独 提交于 2019-11-28 13:41:30

问题


I'd like to create an application link in HTML to a Skype profile. I've found that you can do the following:

<a href="skype:profile_name">Link to my profile</a>

But this seems to trigger a Skype call to that profile. I'd just want the option to browse the profile or add them as a contact, how can I do this?


回答1:


This doesn't seem to be very well documented, but there are ways to specify an action for a Skype profile link. This is the syntax

skype:profile_name?action

Examples of such actions are

  • call to call
  • chat to chat
  • voicemail to leave a voice mail
  • sendfile to send a file
  • add to add to contacts
  • userinfo to view profile

In this case then, the link to view the profile would look like this

<a href="skype:profile_name?userinfo">Link to my profile</a>

See also the Skype URIs page on MSDN.



来源:https://stackoverflow.com/questions/16177332/create-application-link-to-skype-profile

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