Facebook:在 Spotify 上听朋友或我的歌曲总是返回空数组(音乐)

发布于 2024-12-18 15:26:17 字数 413 浏览 1 评论 0原文

我正在尝试获取当前用户的收听情况和朋友的收听情况。

我确信我的朋友在 Spotify 上听过歌曲,并且这些歌曲已同步到 Facebook,我也可以在我的音乐标签上看到它。但是,当我使用 /me/music 呼叫链接时,我只是得到我喜欢的音乐播放列表,没有朋友听,也没有艺术家歌曲,即使我有几个最喜欢的艺术家。

我尝试使用朋友 uid 来获取他的音乐,使用 //music 链接,但返回空列表,即使他在 Spotify 上听了更多歌曲并且我可以看到这些我的音乐墙上的歌曲。

当然,我授予所有用户访问令牌的权限,并将我所有的私人权限设置为“公开”

Facebook API 到目前为止不支持获取音乐信息吗?或者我错过了什么?

谢谢。

I'm trying to get the current user's listens and friends listens.

I am sure my friends has listened songs on Spotify and those songs has been synced to Facebook, and I also could see it on my music tag. But when I use the /me/music call link I just get my liked music playlist, no friends listens, also no artist songs even though I have several favorite artists.

And I try to use friend uid to get his music, use the /<friend-uid>/music link, but return empty list even though he has listened more songs on Spotify and I could see those songs in my music wall.

Of course, I grant all the user permission for access token and make all my private permission to 'public'

Is Facebook API not support to get music info till now? Or am I missing something?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

护你周全 2024-12-25 15:26:17

您需要请求 user_actions.music 和 Friends_actions.music 才能访问 Open Graph 中收听的歌曲。

它们记录在这里: https://developers.facebook.com/docs/opengraph/permissions/

You need to ask for the user_actions.music and friends_actions.music to access the listened songs in Open Graph.

They're documented here: https://developers.facebook.com/docs/opengraph/permissions/

您的好友蓝忘机已上羡 2024-12-25 15:26:17

从我看过的所有地方来看,它似乎仍在开发中,并且不容易拉动。这真是太糟糕了。

From everywhere i've looked, it seems to be still in development and not readily able to pull. Which is a bummer.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文