+ Start a Discussion

Chatter API returning negative value for total likes



I am currently working with the REST API for Chatter, and while debugging I mistakenly called the DELETE method twice for a particular post.


When I retrieved the post again, the number of likes is now negative (initial value was 1). Is this to be expected? The reply I got for the feed item contains the following object for likes:


 As you can see, the likes array is empty, meaning no one likes the item. But the total value is -1. Is this really supposed to happen?


(Sorry for the noobish question, just starting out on Chatter. Also, sorry I am not sure on which board this should go.)







Thanks for pointing this out Zarah, it looks like a bug, we will look into it and try to fix it for a future release.


Alright, thanks Chris!