OpenGraph Music music.listens returns error [closed]

喜你入骨 提交于 2019-12-12 07:16:27

问题


Following the spec here http://developers.facebook.com/docs/opengraph/music/

When I post: POST https://graph.facebook.com/me/music.listens?song=[song url]

The response is invariably:

{ "error": { "type": "OAuthException", "message": "An unknown error has occurred." } }


回答1:


A bug report has been filed here: https://developers.facebook.com/bugs/124491790988961

According to a developer in the comments section, open graph music is not yet available to the developer public.




回答2:


A Facebook developer replied regarding this here: Opengraph and music.listen

Seems like the best option is to create own "play music" actions, since Facebook doesn't seem to allow POST to music.listens in a foreseeable future... :/




回答3:


To add on Kristofer and Garthex answers this Built-in Actions is not publicly available. However, you can submit a request if you think you have the rights on content broadcasting.

Here is the doc for Built-in Actions: https://developers.facebook.com/docs/opengraph/actions/builtin/

Alternativly, you can use Custom Actions like "A user Play a Sound".




回答4:


Make sure you have prompted the user for publish_actions extended permission and that the user is a developer of the application (since the open graph actions are still in beta).



来源:https://stackoverflow.com/questions/7602579/opengraph-music-music-listens-returns-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!