Adding Skype actions such as call and chat into web page examples
Putting these examples down here for my own references in future. Was helping out a web designer friend recently on one of his projects. His client wanted to put in Skype actions such as call and chat on their contact page. How to do that?
Pretty similar to how you will invoke the email client with mailto:
. You can use a custom URI scheme to interact with the Skype client in HTML.
Skype's URI protocol has a structure such as below. username
is obviously the Skype id and the type action you want to invoke. Such as chat or call.
<a href="skype:<username>?<action>">Call me maybe</a>
There are several other actions available for Skype. Such as chat
, call
, userinfo
, sendfile
, add
and voicemail
.
Example on how to start a chat session via Skype, replace the username
with the intended Skype id and action as chat
:
<a href="skype:noexistencesupport123?chat">Take a number first for Support</a>
Example on how to start a call session:
<a href="skype:noexistencesupport123?call">Call someone special</a>
Show a person profile:
<a href="skype:noexistencesupport123?userinfo">See someone special profile</a>
Send a file:
<a href="skype:noexistencesupport123?sendfile">Send a file to someone special</a>
Add to your Skype contacts:
<a href="skype:noexistencesupport123?add">Add someone special to contacts</a>
Leave a voice mail:
<a href="skype:noexistencesupport123?voicemail">Leave a voicemail to someone special</a>
Reference:
https://www.skype.com/en/developer/create-contactme-buttons/
See also : Golang : Web(Javascript) to server-side websocket example
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+6k Golang : Get Hokkien(福建话)/Min-nan(閩南語) Pronounciations
+7.2k Golang : How to iterate a slice without using for loop?
+10.9k How to test Facebook App on localhost ?
+12.2k Golang : How to check if a string starts or ends with certain characters or words?
+23k Golang : Randomly pick an item from a slice/array example
+6.7k Golang : Get expvar(export variables) to work with multiplexer
+39k Golang : How to read CSV file
+19.5k Golang : Set or Add HTTP Request Headers
+5.5k Javascript : How to refresh page with JQuery ?
+8.1k Golang : Oanda bot with Telegram and RSI example
+14.2k Golang : How to shuffle elements in array or slice?
+15.8k Golang : Update database with GORM example