soundcloud

Getting 'undefined method `merge!' when merging SoundCloud exchange token

筅森魡賤 提交于 2020-03-06 02:24:00
问题 I'm working on an app that interacts with SoundCloud and I'm having an issue when I try to save the exchange_token that I'm getting back from the server (among other things) and I really could use some assistance. According to the error I'm getting: undefined method `merge!' for nil:NilClass The problem apparently lies with line 10 in my sclouds_controller.rb file (included below): soundcloud_client.exchange_token(:code => params[:code]) Which is calling a method in the SoundCloud gem that I

Still not get my SoundCloud API key

北慕城南 提交于 2020-03-05 11:41:12
问题 I completed the formular to get an API key for my app, it's been more than two weeks and I did not receive an answer. How can I contact SoundCloud please ? Thank you in advance for your help. 回答1: They take 2-3 weeks before they respond. Email api@soundcloud.com You can also try calling help on +4930467247600 however they have not worked for me. Lastly I read online that one person heard nothing from them for weeks and checked his SoundCloud developer page under 'YOUR APPS' and his app was

Fetching stats on multiple tracks from soundcloud

て烟熏妆下的殇ゞ 提交于 2020-02-07 17:38:30
问题 I want to get all tracks with 0 to 1 plays and am looking at the playback_count stats from http://api.soundcloud.com/tracks/90891876.json?client_id=XXX URL, where playback_count is included in the json response. We have almost 1500 sound snippets, is it possible to make a script that fetches this data ~1500 times or will I get throttled for spamming the connection to the API? We will only use this stats a couple of times to measure how our campaign is going trying to increase plays. Or is it

Retrieve Soundcloud search results and embed results

夙愿已清 提交于 2020-01-24 20:52:51
问题 With Soundcloud, I've been looking at the API, but I'm not quite sure of the best way to do what I want. I'm building a site which I'll use to host a number of sound files on Soundcloud. I'd like to be able to let people search for sounds (they'll be sermon mp3 files for a church website) and then list the results on our site, together with the embedded player. What would be the best approach to use to display a player for each of the returned search results? Obviously, speed is a concern for

Soundcloud CORS

本秂侑毒 提交于 2020-01-24 10:24:10
问题 Soundcloud api should support cors as I read in documentation (http://developers.soundcloud.com/docs/api/guide#crossdomain). But I think this is not the case: XMLHttpRequest cannot load http://ec-media.soundcloud.com/fxguEjG4ax6B.128.mp3?longurldata... Cannot make any requests from null. What am I doing wrong? I'm trying to play stream with aurora.js + mp3.js. 回答1: Unfortunately, at the moment, the CORS headers aren't enabled on the mp3 files that are delivered from the CDN ( ec-media

Getting a SoundCloud API client ID

孤者浪人 提交于 2020-01-22 15:16:19
问题 Encountered a problem accessing my tracks from browser. Usually i type this link in my browser to access downloadable tracks: http://api.soundcloud.com/tracks/294324164/download?client_id=02gUJC0hH2ct1EGOcYXQIzRFU91c72Ea But now i can not access it anymore, probably the client id is changed. How can i obtain a new client id? Thanks. 回答1: Simple.. Go to any tracks that you can download on soundcloud, press f12 and look at networks tab, click download and it will show you something like https:/

Soundcloud OAuth2 API: Getting invalid_scope error after user connection

丶灬走出姿态 提交于 2020-01-13 11:14:55
问题 I'm trying to implement Soundcloud connect and having a weird issue. First thing I do is send my users to https://soundcloud.com/connect?client_id=MY_CLIENT_ID&redirect_uri=http://myredirecturl.example.com&state=RANDOM_STRING&display=page&response_type=code&scope=email When users connect they get redirected to http://myredirecturl.example.com?error=invalid_scope&error_description=The+requested+scope+is+invalid%2C+unknown%2C+or+malformed.&state=RANDOM_STRING The same happens if I use scope=* .

Error trying to access a iframe in JavaScript

为君一笑 提交于 2020-01-12 08:58:32
问题 I'm trying to call the function SC.Widget from this little API: http://developers.soundcloud.com/docs/api/html5-widget, but I receive this error message in the Chrome inspector and I am stuck there. Unsafe JavaScript attempt to access frame with URL file://localhost/Users/maxwell/Desktop/test/test.html from frame withURL http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F67825032&auto_play=false&show_artwork=true&color=ff7700 . The frame requesting access has a

Has order by hotness been removed from Soundclouds API [closed]

≡放荡痞女 提交于 2020-01-07 09:17:26
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I've seen the ability to order by hotness in some tutorials for the SoundCloud API. Eg the following in PHP: // create a client object with your app credentials $client = new Services_Soundcloud('APP KEY'); // find all sounds of buskers licensed under 'creative commons share alike' $tracks = $client->get('tracks

New SoundCloud HTML5 widget animation on track finish

会有一股神秘感。 提交于 2020-01-06 07:54:37
问题 The new update for the html5 widget has added an animation at the end that hides the waveform and shows sharing options and embed codes. This breaks the effect that was desired in one of my clients sites that relies on the widget as its audio engine. Is there a way to stop this animation or revert back to the older widget as it worked fine as it was. The site is http://www.bushytunes.net Play a track, skip to the end as see for yourself. Thanks, James -------UPDATE------- On messing around