eye_mew
eye_mew

Reputation: 9133

Inserting action properties into custom story attachment

The documentation doesn't describe how to insert action properties into an attachment, using this dialog:

Custom story attachment 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

Answers (1)

C3roe
C3roe

Reputation: 96339

How would I expose the reason property of the Adore 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

Related Questions