I have a web app that is meant to connect to Skype. Skype used to have a half-decent API but no more but now there are only a handful of CLI commands that one can run.
I found some wrappers that worked when sending messages in the shell. Alas, Skype must be running in the same environment as the web server.
I've been trying to use xvfb to run a "headless" instance of skype before sending a message to it. I tried to use the --secondary
and --pipelogin
options. I tried to run skype as root or to run xvfb as root.
The only way these scripts work is if I run them in a terminal in the same environment where my skype is logged in, but I the the www-data user to run it. Any idea how?