OpenGraph: custom properties not displayed in the message

I created a custom object / action / aggregation for my application.

https://graph.facebook.com/10151038251679973

Everything works fine, but now I wanted to add custom properties for my object.

I have successfully added two properties: when and the object.

The problem is that when I exchange an object (i.e. posting a link on my wall), user properties are not displayed.

Any idea? Should I make some additional configurations?

+7
source share
3 answers

Custom properties are not displayed only for the hosted object, but you can display them with your actions. You should specify something like {match.when} in the "Caption" field in the "Action Settings" section ("Configure the insert section"):

Action settings

As soon as the action referencing the match object (and the header as described above), you will see something like this:

Published action

BTW . Some notes regarding the warnings you see in the debug tool related to the date format:
There is currently no way to get rid of this message, which provides a numeric timestamp instead of an ISO 8601 date (none of the examples or formats described for DateTime in Simple Types work without warning). The good news is that the date is updated correctly even if a warning is displayed, so you can ignore such a warning until the timestamp displayed in the "Object Properties of the Debug Tool" object is correct and represents your actual date. There are several errors for this problem: # 159315504193810 and # 302542186507947

+8
source
0
source

The problem is that when I exchange an object (i.e. posting a link on my wall), user properties are not displayed.

I'm not sure that they should appear when you use only the link to the object on your wall.

Did you try to publish an action for your object? When this creates a story, they should appear there.

Go to your applicationโ€™s settings, edit the object, and look at the preview object below (you may need to create it first if there is no preview object yet). Edit it, add some values โ€‹โ€‹to it for your custom properties - they should appear there (at least this is what I see when testing it with one of mine).

0
source

All Articles