OpenGraph Music music.listens returns error [closed]
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved i开发者_如何学Cn a way less likely to help future readers.
Closed 4 years ago.
Improve this questionFollowing 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." } }
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.
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... :/
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".
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).
精彩评论