D C
2023-05-15 a01eef703c01899a4e5e45b2b1cc8a6eaed1e0ad
1
2
3
4
5
6
7
trigger CheckChatterPosts on FeedItem (before insert) {
    for (FeedItem f: trigger.new) {
        if (f.parentId == Userinfo.getUserId()) {
            f.addError(System.Label.Error_ChatterPostToMyFollowers);
        }
    }
}