SOQL query for profile image from FeedItem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feedItemsList = [ | |
SELECT Id, Body, Title, Parent.Name, CreatedDate, | |
TYPEOF InsertedBy WHEN User THEN Name, MediumPhotoUrl END | |
FROM FeedItem | |
WHERE CreatedDate = LAST_N_DAYS:30 | |
ORDER BY CreatedDate DESC | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment