Reputation: 9133
The documentation doesn't describe how to insert action properties into an attachment, using this dialog:
For example, if I share a story with these properties:
FB.ui({
method: 'share_open_graph',
action_type: 'appnamespace:Adore',
action_properties: JSON.stringify(
{
person: 'http://stackoverflow.com/users/1920325/eye-mew',
reason: 'He has a flawless jawline'
})
},
function(response){}
});
How would I expose the reason
property of the Adore
action, in the attachment caption?
Upvotes: 1
Views: 127
Reputation: 96339
How would I expose the
reason
property of theAdore
action, in the attachment caption?
Start typing a {
curly brace into those fields, then suggestions for properties you can use will show up.
(You’re right, this doesn’t seem to be mentioned in the docs any more.)
Upvotes: 2