DarkSky link no longer working

I have a media tile that is linked to a local 7 day forecast. I have the hyperlink for this set to take me to Darksky for my local area. This link still works in a normal browser, but not through the media tile in Sharptools. This is both on my tablet using fully kiosk and on my regular PC. I have it set to display in Modal. Anyone else seeing this issue? Maybe related to their recent announcements and blocking this usage somehow?

It looks like Dark Sky is blocking embedded their web page within another (eg. using a modal/iframe).

I confirmed this by opening Chrome’s Developer Tools (F12) and watching the console logs while I tried to open the Dark Sky link. It reported the following message, which means Dark Sky is setting headers to block embedding their main web page

Refused to display ‘https://darksky.net/forecast/XX.XXXX,-XX.XXXX/us12/en’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.

As a workaround, you can edit the Media Tile’s hyperlink action to ‘Open in New Window’ or ‘Open in Same Window’.


1 Like

Thanks for the quick reply. I will update that and search for another source, I love it coming up in modal! Besides with Dark sky dropping Android and API best to just find a new source anyways. Its such a shame!

1 Like

Windy.com is another neat weather source. They don’t allow embedding their main web page either, but you can use their ‘embed’ feature and then copy the URL from that:


For example, I think the following would match the location from your Dark Sky link:


1 Like

I don’t know if it is related but Apple have just acquired the Dark Sky product and company. They have already announced that the Android and Wear OS versions will be discontinued and this may extend to web access.

The iOS version will of course continue and presumably become an Apple product.

1 Like

Yes I am quite sure it is related! It started right after the announcement. I am on Android and have been using their app for years, as well as the WearOS app. The loss of the API is going to impact a lot of developers.

1 Like

I read that Apple has purchased Dark Sky, and plans to kill it next year. I assume that will kill Matthew’s custom version as well.

Yes, Dark Sky has already stopped issuing API Keys and they plan on shutting down the API at the end of 2021 (and the online maps in July 2020). :slightly_frowning_face:

1 Like