We are creating custom application, in which we want documents or our images to be "liked" using the like button.
Is here any exposed API of alfresco or share application that we can use in our custom application?
Solved! Go to Solution.
The Java API of Alfresco includes the RatingService with which you can access the "Likes" of a content item and also add/remove to them. You cannot call it from JavaScript-backed web scripts in standard Alfresco unfortunately, so you have to use a Java-backed web script.
The Java API of Alfresco includes the RatingService with which you can access the "Likes" of a content item and also add/remove to them. You cannot call it from JavaScript-backed web scripts in standard Alfresco unfortunately, so you have to use a Java-backed web script.
Hi,
In addition to Axel's reply, you might also consider using the public Node Ratings REST API (Alfresco Content Services REST API Explorer) with "likes" rating scheme id.
IIRC, this is available since Alfresco 4.2 (to 5.2) and is used by our current iOS & Android mobile clients. You can look at how they use the API or refer to some tests for some example usage.
Regards,
Jan
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.