You need to sign in to do that
Don't have an account?
kodeX
CollaborationGroupFeed invalid
After executing the following SOQL query in Web Services API.
Select Body, Title, Type From CollaborationGroupFeed WHERE ParentId='0FB900000008ov2GAA'
OR
SELECT FeedPost.FeedItemId,FeedPost.Body,(Select Body, Title From CollaborationGroupFeed WHERE ParentId='0FB900000008ov2GAA') FROM NewsFeed ORDER BY CreatedDate DESC LIMIT 20
The ParentId, is the ID of the group that i want to query.
(I have included partner-18.jar and wsc-20.jar)
Why is it giving error below?
Exception in thread "main" [InvalidSObjectFault [ApiQueryFault [ApiFault exceptionCode='INVALID_TYPE'
exceptionMessage='sObject type 'CollaborationGroupFeed' is not supported.']
Solved Using Rest url-
".. /chatter/feeds/groups/me/feed-items"