我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

SoundCloud Play和Like Counts

Is it possible to retrieve Soundcloud Play and Like Counts for a single track with just the URL. I don't know if its php or java. I have a little knowledge of both. Thanks for your help.

If you check out the Soundcloud HTTP API Reference, you will see that the /tracks endpoint can provide you with the relevant values:

Name                Description             Example Value

playback_count      track play count        435
favoritings_count   track favoriting count  6

You can use the JavaScript SDK or the 3rd party PHP SDK to get these values.

Here's an example JSON feed with the values you're looking for

近期文章

  • 用Paypal连接我的网站
  • 打开文件URL并在PHP中读取它?
  • 发布后重定向到同一页面,但显示“成功”消息
  • 通过循环的多个后期值[关闭]
  • 我可以使用指纹扫描仪将文本值发送到textarea /表单吗?
  • 如何在javascript中传递php,自动完成(autosuggestion)动态添加?
  • 当CodeIgniter控制器以大写字母开头时,它会给出404 Not Found
  • CSS清除表边框
  • PHP - Glitchy mod(%)运算符
  • PHP SQL - 需要隔离,因为它会影响页面的其余部分
  • 配置virtualhost root
  • 将数据插入表中时出错
  • 在运行时启用curl [重复]
  • 用户注册php的错误
  • mysql选择查询显示在php中
  • jquery getJSON:数据丢失元素
  • 如何验证路径是否以字符串开头
  • 连接数据库最安全的方法是什么? [关闭]
  • 从1维创建二维数组
  • MySQL上的FROM_BASE64()是否安全?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华