soundcloud

SoundCloud Playlist tracks is empty

只谈情不闲聊 提交于 2019-12-02 18:01:54
问题 I'm trying to get the playlist information fromSoundCloud HTTP API and I'm getting the playlist information and the track_count return the right number for tracks that I have in the playlist but the tracks is empty. I have tried the following links: https://api.soundcloud.com/playlists/215861217 The track_count returns for this playlist is 2. Any idea why? 回答1: This is probably related to a change in the settings from the soundcloud developers. If you try to get the track information of the

Soundcloud API - Origin <mysite> is not allowed by Access-Control-Allow-Origin

≯℡__Kan透↙ 提交于 2019-12-02 14:59:32
问题 As a follow-up to Play playlist or track by permalink not trackid: the solution provided works fine seemingly everywhere except Safari on Mac. On the Safari on Mac we see XMLHttpRequest cannot load http://api.soundcloud.com/playlists/.json?client_id=..., Origin is not allowed by Access-Control-Allow-Origin This is somewhat complicated by the fact that we have embedded the JavaScript into another site (Confluence). The standalone fiddle worked fine on Safari. From XmlHttpRequest error: Origin

Soundcloud API Auth via Golang 401 Error

北城余情 提交于 2019-12-02 12:51:32
问题 I'm attempting to connect to the Soundcloud API and obtain a token in Golang, but I get a 401 errr saying, "error":"invalid_client". I've verified client ID and secret. My redirect URI exists and is: http://localhost:8080/platform/soundcloudCallback.html My code is as follows: func main() { v := url.Values{} v.Set("scope", "non-expiring") v.Set("client_id", auth.ClientID) v.Set("response_type", "code") v.Set("redirect_uri", auth.RedirectURI) c.AuthURL = AuthEndpoint + "?" + v.Encode() c

SoundCloud API playback_count different than on website

时光毁灭记忆、已成空白 提交于 2019-12-02 12:21:49
Your API returns a different play_count than you display on your website. Example Website: https://soundcloud.com/esbee/aleah-water-and-wine-stefan-biniak-private-edit-remastered Playback Count: 10.2k Example API: [ https://api.soundcloud.com/tracks/260065214?client_id=removed "playback_count":1132 That's a factor of 10. Can you please have a look at it or am I missing something? You can use their v2 api: https://api-v2.soundcloud.com/tracks/260065214?client_id=ADD_YOURS Which lists the play count at a proper 10300+ However there doesn't seem to be any documentation about it. 来源: https:/

Rails how to get SoundCloud track information using SoundCloud song URL

ε祈祈猫儿з 提交于 2019-12-02 06:12:58
问题 In my rails project, I want to get SoundCloud track/song title, description, provider data using song url given by user from his SoundCloud account or any SoundCloud link. 回答1: You can use the SoundCloud API for this - see section SoundCloud URLs: If you have a permalink URL to a particular resource, but need more information such as an ID or other property. In these cases, you can use the /resolve endpoint to extract a full representation of the resource. There's also an example using Ruby :

Soundcloud API Auth via Golang 401 Error

前提是你 提交于 2019-12-02 05:47:03
I'm attempting to connect to the Soundcloud API and obtain a token in Golang, but I get a 401 errr saying, "error":"invalid_client". I've verified client ID and secret. My redirect URI exists and is: http://localhost:8080/platform/soundcloudCallback.html My code is as follows: func main() { v := url.Values{} v.Set("scope", "non-expiring") v.Set("client_id", auth.ClientID) v.Set("response_type", "code") v.Set("redirect_uri", auth.RedirectURI) c.AuthURL = AuthEndpoint + "?" + v.Encode() c.Values = v.Encode() res := c.Request("POST", url.Values{}) } func (c *Client) Request(method string, params

Soundcloud API - Origin <mysite> is not allowed by Access-Control-Allow-Origin

人走茶凉 提交于 2019-12-02 05:01:58
As a follow-up to Play playlist or track by permalink not trackid : the solution provided works fine seemingly everywhere except Safari on Mac. On the Safari on Mac we see XMLHttpRequest cannot load http://api.soundcloud.com/playlists/ .json?client_id=..., Origin is not allowed by Access-Control-Allow-Origin This is somewhat complicated by the fact that we have embedded the JavaScript into another site (Confluence). The standalone fiddle worked fine on Safari. From XmlHttpRequest error: Origin null is not allowed by Access-Control-Allow-Origin I suspect the problem is something to do with

Chrome and Soundcloud embed issue with CSS3 columns

删除回忆录丶 提交于 2019-12-02 04:09:25
问题 In Chrome when I place a soundcloud embed into a css3 column it always jumps out of the container?! NOTES: I've noticed if its in the first column the embed no longer tries to jump. This only happens in Chrome, safari is unaffected. DEMO (viewed in Chrome 38): http://jsfiddle.net/52u9qe8r/2/ . <!DOCTYPE html> <html> <head> <title></title> <style> .columns{ -webkit-columns: 100px 2; columns: 100px 2; background:red; text-align:left; } body{ background:yellow; } .soundcloud{ background:lime;

Chrome and Soundcloud embed issue with CSS3 columns

∥☆過路亽.° 提交于 2019-12-02 03:18:58
In Chrome when I place a soundcloud embed into a css3 column it always jumps out of the container?! NOTES: I've noticed if its in the first column the embed no longer tries to jump. This only happens in Chrome, safari is unaffected. DEMO (viewed in Chrome 38): http://jsfiddle.net/52u9qe8r/2/ . <!DOCTYPE html> <html> <head> <title></title> <style> .columns{ -webkit-columns: 100px 2; columns: 100px 2; background:red; text-align:left; } body{ background:yellow; } .soundcloud{ background:lime; -webkit-column-break-inside:avoid; -moz-column-break-inside:avoid; -o-column-break-inside:avoid; -ms

List tracks from Soundcloud and play it with Soundmanager 2 on a Wordpress blog

為{幸葍}努か 提交于 2019-12-02 02:59:23
first of all this is not a cry for a perfectly coded solution but it would be perfect if someone could at least give me some tips on how to solve this problem which is: I have this custom Wordpress site for a record label. On this site there is of course a section showing the releases of every of their artist's tracks. The client needs to upload all their tracks to Soundcloud. In the WP backend they can enter the name of the album, upload a cover image and add as many tracks as they want using MagicFields for Wordpress. After adding the album information and the track names they can enter the