2013-03-28 81 views
1

UPDATESoundcloud oEmbed僅適用於http,不適用於https;所有的網址爲HTTPS

這個問題是固定的話語團隊,不再是一個問題。無需閱讀,與朋友或家人一起享受。


我用,我想透過oEmbed的話語留言板一些的SoundCloud文件的工作。該URL是HTTPS,但是當你打的SoundCloud enpoint用HTTPS,它會導致500例如,URL https://soundcloud.com/smitty1138/the-ink-spots-maybe

在這裏看到更多的信息:http://meta.discourse.org/t/curious-about-onebox-and-soundcloud-support/5365

編輯1

所以你可以在這裏看到一個例子: http://foodiespot.com/t/category-definition-for-favorite-restaurants/4

和:

enter image description here

話題正在使用發送https請求的onebox,正如您在Chrome中看到的那樣。他們如何發出https請求可能存在問題。

它很好可能是如何編碼URL的問題。

+1

嘿,你能給我一個破碎的API請求的例子嗎?您提供的網址在使用和不使用https時似乎都可以正常工作。我也試圖做oembed調用,並不能得到5xx錯誤http://soundcloud.com/oembed.json?url=http://soundcloud.com/smitty1138/the-ink-spots-maybe –

+0

thx for張貼,我明白你的意思;我已經更新了這個問題,並提供了更多關於我們發生這種情況的詳細信息。這可能是onebox的問題,但url似乎是合法的。 – timpone

+0

呵呵,什麼是onebox?可以給我一個鏈接到onebox網站/文檔等? **編輯**:沒關係,我發現http://meta.discourse.org/t/what-is-a-onebox/4546/3 –

回答

0

這個問題已被Discourse團隊修復,不再是問題