function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
viv1viv1 

how to get total number of likes of chatter ????

i have authenticated ....

n have instance URL and access token !!
how should i write http get request to get total no of likes of that user ??
dont know how to write http get() ????

alouie_sfdcalouie_sfdc

The Chatter REST API call to make is:

 

GET /chatter/users/me

or

GET /chatter/users/userId

 

The response will contain a chatterActivity property that has a sub-property called likeReceivedCount that indicates the number of likes the user has received (this includes likes on both feed items and comments).

 

Documentation:

http://www.salesforce.com/us/developer/docs/chatterapi/Content/connect_resources_users_UserProfileInformation.htm