Liking a Video
I don't think Cloudinary has out of the box support for "liking" a video -- such as a user clicking on a like button, and the back end adding that to the "likes" count.
Any thoughts on how this might be achieved?
If we ran a process on our own server that tracked likes per video (using public_id) and making sure user identity is taken into account to allow 1 like per user -- then we could update a "likes" key in the meta data for the video from the server using admin api.
One issue is that this is only really useful if we can sort search results by number of likes. So that goes back to the question if you can sort results using metadata.
Since metadata are <string,string> pairs, as long as the likes is stored with leading zeros, the desired results can be achieved by sorting the likes values as strings.
Post is closed for comments.