Sorry I am very new to open graph and have been having difficulty to post an action the way I want it to be…
If I have two custom objects (book and author) and an action (read) that connects with “book”. I also added in the “book” object a custom property of the type “author”.
Q1) How do I get the “read” action post to include a link to the “author” object? Is that even possible? So far I do not see where I can use the custom property of type “author” anywhere.
Q2) If the custom property name is “myapp:author”, in the meta tag what exactly should I put in the content?? as in <meta property="myapp:author" content="??????">
please if anyone can shed some light I would greatly appreciate it. I can’t seem to find any fb documentation or stackoverflow post describing how exactly to use custom property and i have been trying to figure this out for two days…
This documentation page describe what I can do, but exactly how do I do it???
“Using the same cooking app example, if we wanted to add the author to the recipe object, we could simply add a property “author” to the object where we would provide the author’s name as a string. Another way to model this would be to have the “author” property point to a “profile” object that has meta data on the author’s first name, last name, profile picture etc.”
so back to my two questions
Q1) If I have a “cook” “recipe” action post, in the post can I have a reference to “author” (e.g. User cooked a recipe by author on myapp)
Q2) What should be in the content of the meta tag for the “author” property???
You can see Bultin Object Book to understand how to define custom properties
For Custom types, like referring / using an an object in another object, See this complex object type
For more information You should read the open graph protocal.