Using common open objects and graph actions and publish_actions permission?

I am trying to use the beta graphics API to post about a user playing songs in my application. In addition to the "normal" open graphic documents, I found the following: https://developers.facebook.com/docs/opengraph/music/

Unfortunately, I cannot add general actions such as "music.listens" or general objects such as "music.song" to my application in the dev application. However, in order to get publish_actions permission, I seem to have to add at least the action, object, and preview aggregation. If this does not happen, the auth dialog will not request publish_actions permission.

When I do all this, I can get publish_actions permission, but still I cannot publish the user listening to the song.

I get the error "OAuth" with an error of 500. "unknown_error" "An unknown error occurred." "When I try to post a POSTing request to this URL: https://graph.facebook.com/me/music.listens?song=http://open.spotify.com/track/34uKquOrQLgzBsUbFTkMTc&access_token= [...]

Is publish_action permission allowed for actions and objects that I created in the namespace of my application? If so, how do I need it when I want to perform general actions on universal objects? Or can it just be that I cannot use a song for testing?

Hope someone can help. Erwin

+1
source share
1 answer

Built-in music activities and objects are currently only available to music launch partners.

In the meantime, create your own custom objects and listen to the actions.

publish_actions are the permissions used for all publishing actions, custom and built-in.

+1
source

Source: https://habr.com/ru/post/898316/


All Articles