简体   繁体   中英

Posting Open Graph Story with multiple objects

Posting story like this works fine for me

FB.api('/me/<appname>:added', 'post',
                    {location:
                        {type: "<appname>:location",
                            "title": "London"
                            }},
                    function(response) {
                        if (!response || response.error) {
                        } else {
                        }
                    });

But I couldn't find normal documentation how to post multiple objects (in my case "locations") in one action, so user will see it as "Joe added London, Paris and NY with ".

Only something looks same is here .

So the main question: "is it correct, that I need to post multiple pairs action->object, and then FB maybe will agregate them?"

因此答案是肯定的,Facebook会自行汇总故事。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM