I need to develop a custom page in Tridion using core services, in which I need to get the list of UGC comments for a particular component i.e. tcm id of that tcm id Can this be done using core services ? Any documentation present to get the list of UGC comments using core services ? Or Do I need to make a REST call through custom page code to moderation service i.e. http://localhost:8087/odata.svc/Comments(Id=10002)?$filter=&$format=json , but this only has input parameter Id as Comment Id, not tcm id of component. Any pointers how can I achieve it making a service call through custom code ?
Note - I cannot use Tridion.ContentDelivery.UGC API as my custom page is on CMS side.
Is there any other approach I can adopt to get the desired list of comments for a particular component.
Your help, guidance will be appreciated. Thanks