php - Soundcloud API 是系统故障?
问题描述
Soundcloud API 是系统故障?
$url
直到上个月,我才能通过以下方式访问 Soundcloud 。
但是,现在无法访问。
执行任何一个都$url
将返回一个空数组。
示例1:获取曲目信息
$client_id = 'xxx';
$target = "https://soundcloud.com/account_name/track_name";
$url = "https://api.soundcloud.com/resolve.json?url=$target&client_id=$client_id";
// this will return "{}"
示例2:获取搜索结果
$client_id = 'xxx';
$search_words = "apple";
$url = 'https://api.soundcloud.com/tracks?client_id=' . $client_id . '&q=' . $search_words;
// this will return also "{}"
我什至不知道我们如何解决这个问题。你有什么解决办法?
解决方案
推荐阅读
- php - 从应用程序 facebook 取消链接令牌
- django - 如何使用 DRF 配置 stream-django
- kotlin - 如何压缩(s1,o1),其中 s1 只发生一次而 o1 发生多次?
- ruby-on-rails - 无法在模块化 Rails 应用程序中运行测试
- jsf-2 - JSF 和 EL,我看不懂这段代码(一个数组?)
- featherlight.js - Featherlight在关闭后获取输入文本框的值?
- php - 我收到未定义变量 $answer1,2,3,4 和 5 的错误,请
- assembly - nasm 错误:asm.6 标签或指令应位于行首
- c# - 动态添加/加载组件
- c++ - 接受 const char* 和 const std::string& 参数的模板函数