
3 answers
Try the below code to get the list of users who didn't post anything in user feed or group feed List<Id> userIds = new List<Id>();
for(ChatterActivity chatterId: [SELECT Id, PostCount, LikeReceivedCount,ParentId FROM ChatterActivity]) {
userIds.add(chatterId.ParentId);
}
List<user> userId = [select id,username from user where Id Not IN:userIds];
System.debug('User id list'+ userId);
Karanraj - thank you for your response. we have installed this app but it does not show which users have never used. Also there is lot of confusion with this app with group feed and feed items etc. Group feeds are seperate from user feeds. I thought I could just query directly in developer console. Need help with the query Check this free appexchange package for Chater usage - https://appexchange.salesforce.com/listingDetail?listingId=a0N30000003IYLqEAO