Facebook图表api - 发布多张照片 [英] facebook graph api - posting multiple photos
问题描述
我正在使用Graph API发布到用户的时间线
I am using Graph API to post to a user's timeline
我正在使用/ me / feed端点,如 https://developers.facebook.com/docs/graph-api/reference/user/feed/
I am using the /me/feed endpoint as documented at https://developers.facebook.com/docs/graph-api/reference/user/feed/
从描述中,看来我只能发布一张照片。有没有办法发布多张照片?
From the description, it seems I can only post one photo. Is there a way I can post multiple photos?
在Facebook网站上,我可以看到支持多张照片。但是他们是否支持API?
On the Facebook site, I can see that multiple photos are supported. But are they supported in API?
推荐答案
您可以使用自定义故事图形API 。
具体检查发布操作部分这里,并注意图像字段被指定为允许多个值。
You can use the "Custom Stories" Graph API.
Specifically checkout the "Publishing Actions" section here and notice that the "images" field is designated as allowing "multiple values".
这篇关于Facebook图表api - 发布多张照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!