soundcloud

how to generate soundcloud oauth token (access token)

浪尽此生 提交于 2021-02-07 10:50:30
问题 I have an asp.net web application where I am trying to upload tracks on Soundcloud using this method: Connecting to and uploading tracks with Soundcloud API using C# .NET I created an app on soundcloud but I don't know how to generate my oauth token [oauth_token] Thanks 回答1: The oauth token is something you get per user after they authorize your app. For server-side web applications, you use the API credentials for your app to redirect the user to the SoundCloud authorization URL so they can

Soundcloud HTML5 Volume Control

扶醉桌前 提交于 2020-12-27 05:59:56
问题 I have a track on my website which utilizes the soundcloud HTML5 player. I was wondering if there is any way I can make it a little quieter that way it doesn't shock the viewer upon opening my page. If anyone could lead me in the right direction as to how to alter the players volume on soundcloud it would be much appreciated :D I know it has something to do with javascript: setVolume(volume) but I'm not familiar with JavaScript so if someone could help me out that'd be great. I want the

Soundcloud HTML5 Volume Control

自闭症网瘾萝莉.ら 提交于 2020-12-27 05:55:52
问题 I have a track on my website which utilizes the soundcloud HTML5 player. I was wondering if there is any way I can make it a little quieter that way it doesn't shock the viewer upon opening my page. If anyone could lead me in the right direction as to how to alter the players volume on soundcloud it would be much appreciated :D I know it has something to do with javascript: setVolume(volume) but I'm not familiar with JavaScript so if someone could help me out that'd be great. I want the

Get the social media links from a Soundcloud user

▼魔方 西西 提交于 2020-07-09 14:00:34
问题 Is it possible to retrieve the social media links (such as Twitter, Facebook, Songkick, etc.) from a user on Soundcloud, similar to how you retrieve a user website on Soundcloud? I read in this old Soundcloud API thread from 2011 (https://groups.google.com/forum/#!topic/soundcloudapi/AM8sIULAcLQ), that this was a high priority feature to be released. Is this possible yet (possibly skipped over in the API docs)? 回答1: The endpoint is users/{id}/web-profiles https://developers.soundcloud.com

Soundcloud API 401

橙三吉。 提交于 2020-04-16 04:57:40
问题 So I'm trying to get a playlist with SoundCloud API, but I'm getting a 401 when setting an access token. <?PHP require_once('Services/Soundcloud.php'); $client = new Services_Soundcloud('id', 'secret', 'uri'); if (!isset($_GET['code'])) { header("Location: " . $client->getAuthorizeUrl()); } $access_token = $client->accessToken($_GET['code']); $client->setAccessToken($access_token); ?> I think it may be a problem with me reusing the access token (maybe?). I'm not sure. 回答1: For some reason it

Soundcloud API 401

…衆ロ難τιáo~ 提交于 2020-04-16 04:57:13
问题 So I'm trying to get a playlist with SoundCloud API, but I'm getting a 401 when setting an access token. <?PHP require_once('Services/Soundcloud.php'); $client = new Services_Soundcloud('id', 'secret', 'uri'); if (!isset($_GET['code'])) { header("Location: " . $client->getAuthorizeUrl()); } $access_token = $client->accessToken($_GET['code']); $client->setAccessToken($access_token); ?> I think it may be a problem with me reusing the access token (maybe?). I'm not sure. 回答1: For some reason it

Soundcloud API 401

偶尔善良 提交于 2020-04-16 04:57:13
问题 So I'm trying to get a playlist with SoundCloud API, but I'm getting a 401 when setting an access token. <?PHP require_once('Services/Soundcloud.php'); $client = new Services_Soundcloud('id', 'secret', 'uri'); if (!isset($_GET['code'])) { header("Location: " . $client->getAuthorizeUrl()); } $access_token = $client->accessToken($_GET['code']); $client->setAccessToken($access_token); ?> I think it may be a problem with me reusing the access token (maybe?). I'm not sure. 回答1: For some reason it

Soundcloud API 401

末鹿安然 提交于 2020-04-16 04:57:10
问题 So I'm trying to get a playlist with SoundCloud API, but I'm getting a 401 when setting an access token. <?PHP require_once('Services/Soundcloud.php'); $client = new Services_Soundcloud('id', 'secret', 'uri'); if (!isset($_GET['code'])) { header("Location: " . $client->getAuthorizeUrl()); } $access_token = $client->accessToken($_GET['code']); $client->setAccessToken($access_token); ?> I think it may be a problem with me reusing the access token (maybe?). I'm not sure. 回答1: For some reason it

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

筅森魡賤 提交于 2020-03-06 02:24:04
问题 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