Search code examples
facebookfacebook-graph-apifacebook-opengraphcustom-action

Publish custom object in Open Graph with built-in "publish" action


I have some problems with my first Open Graph custom action:

I've created a custom action ":publish" because with the built-in action "news:publish" I only can publish objects of type "og:article".

This action was rejected with "You are trying to submit a custom action which is not permitted."

Ok, I understand, but how can I publish custom objects (in my case :recipe) with the built-in action "publish"? I can not change the connected object types on this bulit-in one.


Solution

  • Publish is not a built-in action, it is some sort of reserved word for publishing actions. If you are trying to publish something like article, built in read action is appropriate for that. If you are publishing custom objects like recipe, the appropriate action should be cook or similar.

    PS: The built in action is not news:publish, it is news:Read.