is it possible to create a chatter FeedItem with a sites user with public access, is there any workaround to get this done?
I tried to insert it with "insert" and also with the ConnectApi but I got the same error message: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, Entity is read-only: FeedItem: .
it works with the standard salesforce user but not by creating the item through a salesforce sites user with public access.
FeedItem FInew = new FeedItem(); FInew.parentId = qu.Id; FInew.Body = FeedBody; insert FInew;
ConnectApi.ChatterFeeds.postFeedItem( null, ConnectApi.FeedType.Record, string.ValueOf(ALI.Id), FeedBody);