TypeError: Cannot read property 'MS_APP_CLIENT_ID' of undefined
I tryed to use the code provided by the https://dev.skype.com/webcontrol, but the browser shows "TypeError: Cannot read property 'MS_APP_CLIENT_ID' of undefined" in the console, and the chat does not show up.
The most strage thing is that i had the same code working few days ago. So the problem might be in the https://swc.cdn.skype.com/sdk/v1/sdk.min.js
Code to replicate the issue Beforre anyone asks, i've set the Microsoft App ID in the data-bot-id
<html> <body> <div class="skype-button bubble " data-bot-id='YOUR_BOT_ID'></div> <script src="https://swc.cdn.skype.com/sdk/v1/sdk.min.js"></script> </body> </html>
See also questions close to this topic
Connecting to skype using python skpy
Trying to connect to
Tried the below solution :
def connect_skype(user, pwd, token): s = Skype(connect=False) s.conn.setTokenFile(token) try: s.conn.readToken() except SkypeAuthException: s.conn.setUserPwd(user, pwd) s.conn.getSkypeToken() s.conn.writeToken() finally: sk = Skype(user, pwd, tokenFile=token) return sk
This is the error:
resp = self.send(prep, **send_kwargs) File "C:\Programs\Python37\lib\site-packages\requests-2.21.0-py3.7.egg\requests\sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "C:\Programs\Python37\lib\site-packages\requests-2.21.0-py3.7.egg\requests\adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='login.skype.com', port=443): Max retries exceeded with url: /login/oauth/microsoft?client_id=578134&redirect_uri=https%3A%2F%2Fweb.skype.com (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x00000253EF690F60>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
How to resolve the Max retries exceeded issue?
Retrieving Skype attachments when connected via Bot Framework
We use BotFramework to contact our clients using Skype. We expect to get attachments as a part of Activity's Attachment property, and this is the case when client sends 'jpeg', 'gif' or other image type. However, when client sends audio file '.m4a' or similar, we get something like:
<URIObject uri="https://api.asm.skype.com/v1/objects/0-neu-d11-f5e80525b1cae4f19957707afbb44006" url_thumbnail="https://api.asm.skype.com/v1/objects/0-neu-d11-f5e80525b1cae4f19957707afbb44006/views/audio" type="Audio.1" doc_id="0-neu-d11-f5e80525b1cae4f19957707afbb44006">To hear this audio file, go to: <a href="https://login.skype.com/login/sso?go=webclient.xmm&docid=0-neu-d11-f5e80525b1cae4f19957707afbb44006">https://login.skype.com/login/sso?go=webclient.xmm&docid=0-neu-d11-f5e80525b1cae4f19957707afbb44006</a> <OriginalName v="Recording.m4a"></OriginalName> <FileSize v="66912"></FileSize> </URIObject>
Should we parse it by ourselves (we were supposed to get this as attachment, aren't we?) and if yes - are there any parsers to handle this kind of stuff? Only thing i can find is related to SkPy (https://skpy.t.allofti.me/protocol/chat.html) or MSNP(https://github.com/msndevs/protocol-docs/wiki/Messaging) which is outdated.
web skype on linux
Recently, skype updated their web application. By that, firefox cannot visit web.skype.com. Yesterday, all browsers on linux (my case is ubuntu 16.06) cannot use skype on web. The page shows "Browser not supported". Only changed user-agent did not work any more.
Adpative rate control for WebRTC: Does resolution change as well?
It seems obvious that WebRTC uses its own rate control (GCC) to control the bitrate of the encoder, but I couldn't find any information about changing resolution as well.
Does WebRTC, (or other realtime video system like Hangout, Skype) change only the bitrate and not the resolution during live ingest?
If it doesn't change the resolution, why is that?
According to the bitrate, quality, resolution curve shown below, using only single fixed resolution to cover bitrate changes seems not efficient.
This is because the quality drastically goes bad if the bitrate is really low for the single resolution. (because of the sharp slope of the left side curve)
Therefore, in my opinion, changing resolution as well as bitrate is necessary and reasonable, but I'm not sure if this is supported by WebRTC, Hangouts, Skype or other realtime mobile video system.
Botbuilder Skype channel embed is not displaying the chat bubble
I have been using the Skype channel to display our chatbot on our website, however, in the last week, this has stopped displaying.
Originally an error was being returned in the browser console:
TypeError: Cannot read property "MS_APP_CLIENT_ID" of undefined
This was raised in
services-bundle.min.jswhich I believe is included by the Skype CDN that is included as per the instructions here https://dev.skype.com/webcontrol.
In the last few days, I am no longer receiving any error in the browser console, but the chat bubble is still no longer displaying. I believe the error is still related to the Skype CDN.
How to autofill message in Skype chat hyperlink
I am creating a hyperlink on a website to open a Skype chat with a specific user using the following method: Start chat
When the new chat window opens, I'd like the message to automatically be filled in with some text that I specify.
I also don't want it to automatically send the message, so that the user has the opportunity to edit the message before sending.
Is this possible?