skype4pidgin
skype4pidgin copied to clipboard
cards: "https://go.skype.com/cards.unsupported"
Hi, when someone with a "real" skype client send a "card" it is shown as
Um diese Karte anzuzeigen, gehe zu: https://go.skype.com/cards.unsupported
("to view this card, go to …"). In web.skype.com the same message is shown as
Um diese Karte anzuzeigen, gehe zu: https://go.skype.com/cards.unsupported<Swift b64="eyJ0eXBlIjoibWVzc2FnZS9jYXJkIiwiYXR0YWNobWVudHMiOlt7ImNvbnRlbnRUeXBlIjoiYXBwbGljYXRpb24vdm5kLm1pY3Jvc29mdC5jYXJkLmZsZXgiLCJjb250ZW50Ijp7InNoYXJlYWJsZSI6dHJ1ZSwic3VidGl0bGUiOiJHZWZ1bmRlbiBhdWYgR2lwaHkuY29tIiwiaW1hZ2VzIjpbeyJhbHQiOiJpIGhhdmUgbm8gaWRlYSBHSUYiLCJ1cmwiOiJodHRwczovL21lZGlhMC5naXBoeS5jb20vbWVkaWEvamtTRDlHVG1ITlJ0NlZhVVhwL2dpcGh5LmdpZj9jaWQ9MTNjMDgzNDI1YzdjZTFiZDY1NmE3MjQ5NTE0NzcxZWQiLCJ0YXAiOnsidHlwZSI6InNob3dJbWFnZSJ9LCJ0eXBlIjoiaW1hZ2UvZ2lmIn1dLCJhc3BlY3QiOiI0ODA6MzYwIiwiZGltZW5zaW9ucyI6eyJ3aWR0aCI6NDgwLCJoZWlnaHQiOjM2MH19fV19"/></URIObject>
decoding the base64 string results in:
{
"attachments": [
{
"content": {
"aspect": "480:360",
"dimensions": {
"height": 360,
"width": 480
},
"images": [
{
"alt": "i have no idea GIF",
"tap": {
"type": "showImage"
},
"type": "image/gif",
"url": "https://media0.giphy.com/media/jkSD9GTmHNRt6VaUXp/giphy.gif?cid=13c083425c7ce1bd656a7249514771ed"
}
],
"shareable": true,
"subtitle": "Gefunden auf Giphy.com"
},
"contentType": "application/vnd.microsoft.card.flex"
}
],
"type": "message/card"
}
Are there any plans on supporting those kind of messages?
What's a card?
I believe it's some kind of new way to display a static picture or a animate gif/webm/whatever. It's not implemented in web.skype.com so you'll probably need the official client to display it. Edit: yup, this "card" shows up when sharing "Bing GIFs", "Pictures", "Microsoft To-Do", "Bing Restaurants" and stuff. It's not related to inserting "media", "contacts" or "location".
I can confirm this bug. On my system, in both Pidgin, and Spectrum2, these "cards" are trailed by large sloths of base64 encoding.
<URIObject uri="https://static.asm.skype.com/pes/v1/items/4ba785834cc14a5aaaa6225a39b1e666" url_thumbnail="https://static.asm.skype.com/pes/v1/items/4ba785834cc14a5aaaa6225a39b1e666" type="Sticker.1">A sticker was sent, but this version of Skype doesn't support it. Learn more by visiting https://go.skype.com/you.received.sticker<OriginalName v="Nice">
<URIObject type="SWIFT.1" url_thumbnail="https://urlp.asm.skype.com/v1/url/content?url=https://neu1-urlp.secure.skypeassets.com/static/card-128x128.png">To view this card, go to: https://go.skype.com/cards.unsupported<Title><Swift b64="eyJ0eXBlIjoibWVzc2FnZS9jYXJkIiwiYXR0YWNobWVudHMiOlt7ImNvbnRlbnRUeXBlIjoiYXBwbGljYXRpb24vdm5kLm1pY3Jvc29mdC5jYXJkLmZsZXgiLCJjb250ZW50Ijp7InNoYXJlYWJsZSI6dHJ1ZSwic3VidGl0bGUiOiJGb3VuZCBvbiBUZW5vci5jb20iLCJpbWFnZXMiOlt7ImFsdCI6IlRvbWF0byBTYWQgR0lGIiwidXJsIjoiaHR0cHM6Ly9tZWRpYS50ZW5vci5jb20vaW1hZ2VzL2EzMzUzODRkOTZjMmZjODA4MzEzOWMzODVmNzI1ZGI3L3Rlbm9yLmdpZiIsInRhcCI6eyJ0eXBlIjoic2hvd0ltYWdlIn0sInR5cGUiOiJpbWFnZS9naWYiLCJzdGlsbFVybCI6Imh0dHBzOi8vbWVkaWEudGVub3IuY29tL2ltYWdlcy82ZDAyNmExODM1MzkxNGFjMzVkMDNlYTg5YzA2ZTYxYy90ZW5vci5wbmciLCJmcmFtZXMiOjB9XSwiYXNwZWN0IjoiMzIwOjE4MCIsImRpbWVuc2lvbnMiOnsid2lkdGgiOjMyMCwiaGVpZ2h0IjoxODB9fX1dfQ=="/>
<URIObject type="SWIFT.1" url_thumbnail="https://urlp.asm.skype.com/v1/url/content?url=https://neu1-urlp.secure.skypeassets.com/static/card-128x128.png">To view this card, go to: https://go.skype.com/cards.unsupported<Title><Swift b64="eyJ0eXBlIjoibWVzc2FnZS9jYXJkIiwiYXR0YWNobWVudHMiOlt7ImNvbnRlbnRUeXBlIjoiYXBwbGljYXRpb24vdm5kLm1pY3Jvc29mdC5jYXJkLmZsZXgiLCJjb250ZW50Ijp7InNoYXJlYWJsZSI6dHJ1ZSwic3VidGl0bGUiOiJGb3VuZCBvbiBUZW5vci5jb20iLCJpbWFnZXMiOlt7ImFsdCI6IlRvbWF0byBTYWQgR0lGIiwidXJsIjoiaHR0cHM6Ly9tZWRpYS50ZW5vci5jb20vaW1hZ2VzL2EzMzUzODRkOTZjMmZjODA4MzEzOWMzODVmNzI1ZGI3L3Rlbm9yLmdpZiIsInRhcCI6eyJ0eXBlIjoic2hvd0ltYWdlIn0sInR5cGUiOiJpbWFnZS9naWYiLCJzdGlsbFVybCI6Imh0dHBzOi8vbWVkaWEudGVub3IuY29tL2ltYWdlcy82ZDAyNmExODM1MzkxNGFjMzVkMDNlYTg5YzA2ZTYxYy90ZW5vci5wbmciLCJmcmFtZXMiOjB9XSwiYXNwZWN0IjoiMzIwOjE4MCIsImRpbWVuc2lvbnMiOnsid2lkdGgiOjMyMCwiaGVpZ2h0IjoxODB9fX1dfQ=="/>
The base64decode of that one gives
{
"type": "message/card",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.flex",
"content": {
"shareable": true,
"subtitle": "Found on Tenor.com",
"images": [
{
"alt": "Tomato Sad GIF",
"url": "https://media.tenor.com/images/a335384d96c2fc8083139c385f725db7/tenor.gif",
"tap": {
"type": "showImage"
},
"type": "image/gif",
"stillUrl": "https://media.tenor.com/images/6d026a18353914ac35d03ea89c06e61c/tenor.png",
"frames": 0
}
],
"aspect": "320:180",
"dimensions": {
"width": 320,
"height": 180
}
}
}
]
}