Franz: Images sent via skype don't open

Created on 27 Feb 2018  路  14Comments  路  Source: meetfranz/franz

When you click on an image sent to you via Skype it should open. However, the link doesn't work.
I've tried multiple images.

Link: https://api.asm.skype.com/v1/objects/0-neu-d3-92f8a7107347f584ab65f83a42f5f521/views/imgpsh_fullsize

Using Windows 10. Franz 5

Thanks!

[Status] Stale

Most helpful comment

A workaround is to login into WebSkype, so that it drops a cookie for authentication. Afterwards, all images are going to be shown normally in the browser.


Having same issue.

Win10 64bit
Version 5.0.0-beta.18
Release 1.8.4

All 14 comments

I am too having this issue running Mac OSX (high sierra) Franz 5.

Thank you!

I'm having the same issue. Mac OSX High Sierra with Franz 5.

Yep same issue. Using the new Macbook pro.

MacOs, same issue. Have to open the Skype application next to it if i want to view the image...

Same issue (Windows 10 x64 / Franz 5)

Same issue Win 10. Rather than opening. It should download images straight. Just like the other media content.

Same issue.
macOS High Sierra 10.13.14
Franz 5.0.0-beta.18

Same issue
macOS High Sierra 10.13.14
Version 5.0.0-beta.18 (5.0.0-beta.18.903)

A workaround is to login into WebSkype, so that it drops a cookie for authentication. Afterwards, all images are going to be shown normally in the browser.


Having same issue.

Win10 64bit
Version 5.0.0-beta.18
Release 1.8.4

Also on the Linux version of Franz:
Version: 5.0.0-beta.18
Release: 1.8.4 / linux / x64

As proposed by George, this is most likely an authorization problem when creating the request.

same issue.
Version: 5.0.0-beta.18
Release: 1.8.4 / linux / x64
Rambox doesn't have this issue.

Same issue.
I think you take see how Rambox implement it.

I have a fix for a solution for this issue:

It is because images sent in Skype require authentication to be viewed, and Skype uses the cookie named skypetoken_asm under the url https://api.asm.skype.com, and this cookie is HTTPOnly. When it uses window.open to open a new tab in your own browser, it may not have your cookie as you may login as another user / you haven't logged in.

The simplest way to fix it is using BrowserWindow to open another window, which can carry the same cookies from the current session, and loads that URL in.

Submitted a PR: https://github.com/meetfranz/recipe-skype/pull/14

(For how to deploy the skype recipe, the documentation is located here https://github.com/meetfranz/plugins/blob/master/docs/integration.md)

Edit:
Found out that sometimes the images located at https://eus1-api.asm.skype.com instead.
At the end I just used win.webContents.session.cookies.set to set the skypetoken_asm cookie

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings