How to Publish a status with multiple photos by Facebook API?

大憨熊 提交于 2019-11-30 23:40:40

This could be a solution:

  1. Create a post with just a message, get its ID
  2. Upload all your photos with { "published" : "false" }, get their IDs
  3. Update each photo with { "target_post" : "<yourPostID>", "published" : "true" }

Did you see this documentation ? https://developers.facebook.com/docs/opengraph/usergeneratedphotos/ it might help you

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!