Skip to content

Instantly share code, notes, and snippets.

@jamigibbs
Last active May 21, 2020 14:37
Show Gist options
  • Save jamigibbs/054806c450e22b2dbe1175a646f2ed8d to your computer and use it in GitHub Desktop.
Save jamigibbs/054806c450e22b2dbe1175a646f2ed8d to your computer and use it in GitHub Desktop.
Bad Feed Item SOQL query for profile image 2
feedItemsList = [
SELECT Id, Body, Title, CreatedDate, Parent.Name, Parent.Photo.mediumPhotoUrl
FROM FeedItem
WHERE InsertedBy = 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