botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Skype Web Control] Is showing postback in chat

Open wacton opened this issue 9 years ago • 11 comments

System Information

  • SDK Language: .Net
  • SDK Version: 3.9.0
  • Development Environment: App Service

Bot Info

  • Bot handle: AskMichelleDevelopment
  • App ID: cb285cec-f2cb-4043-9c23-2ac2ffae18ac
  • Connected channels: Skype, Facebook

Issue Description

We are using the Skype Web Control on our site. We use a fair amount of postback messages. It used to work fine, but sometime the last couple of days it started posting the postback message in the chat. skypewebcontrol

Steps to Reproduce the Issue

  1. Create a bot with a postback action
  2. Add the Skype Web Control to any page
  3. Click the postback action

Expected Behavior

Expected the postback to be sent to the server

Actual Results

Postback text is posted in chat and sent back as plain text.

wacton avatar Aug 04 '17 03:08 wacton

I'm having the same issue since the sdk for the webcontrol has changed to <script src="https://latest-swc.cdn.skype.com/sdk/0.24.37/sdk.js"></script>

fms-santos avatar Aug 04 '17 16:08 fms-santos

I am experiencing the same issue. I tried to solve the problem temporarily by loading a previous version of the SDK - https://latest-swc.cdn.skype.com/sdk/0.12.2/sdk.js - however this does not seem to improve the situation.

algomaks avatar Aug 04 '17 20:08 algomaks

@fms-santos @mminchev sorry for the issue! We are actively working on a fix for this bug and marked it as high priority. Please use https://swc.cdn.skype.com/sdk/v1/sdk.min.js moving forward to receive the latest update. I'll update this thread when we have deployed the fix.

renebrandel avatar Aug 07 '17 09:08 renebrandel

Thanks @brene . We'll do as you say. Also, a thing that is a bit annoying to me is the fact that we can't use different colors for the bot and the user's messages.

fms-santos avatar Aug 07 '17 09:08 fms-santos

@fms-santos actually, you can completely overwrite the CSS of the control. (Just don't mess with the placement of the Skype logo because of legal reasons). Create a

<div class="skype-chat" data-css-url="https://yourdomain.com/some.css" ></div>

and then you can choose whatever color you like.

renebrandel avatar Aug 07 '17 09:08 renebrandel

Didn't know that! Thanks again @brene, much appreciated ;)

fms-santos avatar Aug 07 '17 10:08 fms-santos

Thanks @brene! I am looking forward to the fix as I am depending on Skype Web Control in order to complete a project for a client.

algomaks avatar Aug 07 '17 12:08 algomaks

@mminchev @fms-santos We have rolled out the update to 100% it's fixed now

renebrandel avatar Aug 09 '17 09:08 renebrandel

Thanks @brene ! I can confirm that my bot is working as it should again. ;)

fms-santos avatar Aug 09 '17 09:08 fms-santos

@wacton can you close this ticket :-)

renebrandel avatar Aug 09 '17 09:08 renebrandel

Thanks @brene !! All good and working again. Appreciate it.

wacton avatar Aug 09 '17 10:08 wacton