Forum Discussion
apaskett wrote:
...
- Why is the image still showing up in this feed when the message it was posted in is no longer accessible?
I imagine this is hapening because although a message with that image has been deleted, the image still exisits within the community, if that user uploaded the image via their image gallery, e.g. <community.com>/t5/media/gallerypage/user-id/<id#>
As for 2. and 3, I'm hoping one of our other egineers can chime in on a way to code for this.
- apaskett11 years agoContributor
We were under the impression (as stated in the docs here: http://community.lithium.com/t5/Community-API/bd-p/developers-rest-api?leaf-id=Community.images#Community.images) that the only images returned in this call would be ones associated with valid messages within the community. In our case, we're making this call against the community as a whole, so we're expecting to get back images from all blogs, discussions, tkb articles, etc etc, but not user-uploaded images (also as stated in the docs).
So basically, regardless of whether the image was uploaded to a user's album and then attached to a message or if it was uploaded when the message was first created, we'd expect that images that aren't associated with a message not to show up in this list. Or is this incorrect?
- SuzieH11 years agoKhoros Alumni (Retired)
I had a short chat with one of our engineers with regard to your last paragraph:
"So basically, regardless of whether the image was uploaded to a user's album and then attached to a message or if it was uploaded when the message was first created, we'd expect that images that aren't associated with a message not to show up in this list. Or is this incorrect?"
He believes that you've found a bug and asked that you file a ticket with support.
- JakeS11 years agoLithium Alumni (Retired)As to point three, you might try this call, but I think it may not return anything for a deleted message; still, since you have the id it's worth a shot:
http://community.lithium.com/t5/Community-API/bd-p/developers-rest-api?leaf-id=Community.messages.id.message_id#Community.messages.id.message_id
Related Content
- 2 years ago
- 8 years ago
- 2 years ago