"Implementation Restriction: FeedItem requires a filter by ID" error using Force.com IDE
|Knowledge Article Number||000002575|
"Implementation Restriction: FeedItem requires a filter by ID" happens when a developer attempts to write code where they aren't explicitly querying for the items through their parent feed item, such as AccountFeed.
As of API Version 23 it's possible to directly query FeedItem records without using the ParentID of the parent feed item (such as OpportunityFeed).
However, the latest current version of the Force.com IDE or Eclipse with the Force.com plugin supports up to version 22.
In order to access FeedItem without the ParentID there are a number of workarounds :