2016-11-04 35 views
0

是否有可能通過Java或PHP將Skype羣聊天ID轉換爲可連接的客人鏈接?Skype轉換聊天ID到Skype加入URL

例子:

19:[email protected] => https://join.skype.com/xxxxxxxxx

我見過有人之前做到這一點,但我不知道怎麼樣。如果任何人都可以幫助它會很棒!

回答

0

這是舊的 - 但這裏是我如何做到這一點(免責聲明:Skype的協議如有更改,這是Skype的一個非官方的Python模塊):

使用Python,得到skpy模塊,登錄並查詢網址:

from skpy import Skype 

username = '<your username>' 
password = '<your password>' 

sk = Skype(username, password) # connect to Skype 

# to go from id to url 
chat_id = '<skype chat id>' 
ch = sk.chats.chat(chat_id) 
join_url = ch.joinUrl 

# to go from url to id 
join_url = '<skype url to get id>' 
chat_id = sk.chats.urlToIds(join_url) 
相關問題