You can get a user’s UniquePositiveFeedbackCount by calling getFeedbackSummary() method through either GetUserCall or GetFeedbackCall.
The code snippet below shows how to retrieve the UniquePositiveFeedbackCount using GetFeedbackCall.
GetFeedbackCall api = new GetFeedbackCall(apiContext);
// Executes the API.
FeedbackDetailType[] feedbacks = api.getFeedback();
// retrieve the feedback summary for the user.
FeedbackSummaryType feedbackSummary= api.getFeedbackSummary();
// Get the user’s positive feedback
Integer pFeedBack = feedbackSummary.getUniquePositiveFeedbackCount();
int positivefeedbackCount = pFeedBack.intValue();