+ Start a Discussion

SOQL to find the list of things followed by user


What is the SOQL query to check the list of thins a user is following.
The user can click Follow on Account, Opportunity etc
but is there any limit on thiings to follow
Best Answer chosen by Sandrine
Hi Sandrine,

 Try this query:

Change the SubscriberId to the user you want to track.
SELECT ParentId, Parent.Name FROM EntitySubscription WHERE SubscriberId = '00590000001Fghj' AND ParentId IN (SELECT Id FROM Account)