Lightning Notifications using Apex October 17, 2018August 30, 2022InfallibleTechie Admin Sample Code: FeedItem post = new FeedItem(); post.Body = 'Enter post text here'; post.ParentId = '005U0000000gviFIAQ';//Id of the user record insert post; Output: