Hamed » posted to support
Hi, how can I assign an image attachment uploaded with OpenGraph API to a post with API?
processed images are available in https://mokum.place/api/v1/attachments.json, so that you know their IDs. Specify those IDs in { post: { ..., attachment_ids: [id1, id2, id3] } } when creating the post. ‎- псы в рапиде
Thanks very much.but when I call attachments.json with curl and proper X-API-Token, I get this error :"error":"You need to sign in or sign up before continuing. it's ok when I open the page with browser ‎- Hamed
sorry @squadette but I use exactly the same command that described here: https://mokum.place/about/api/attachments ‎- Hamed
@hameda: Fixed, thank you! It was a very old stupidity on my part. ‎- псы в рапиде
@squadette: Thanks for your great job ‎- Hamed