You need to sign in to do that
Don't have an account?
stefh
chatter REST API group feed
is there a way in the chatter api to get the feed of a specific group?
for example,
/services/data/v28.0/chatter/feeds/groups/{group id}/feed-items
(where {group id} is the id of the group - either the sobject id, or the id obtained from the result of /services/data/v28.0/chatter/groups)
gives an "invalid subject identifier" error.
is there a way to get this without resorting to soql queries?
Yes, you need to use "record" in the URL instead of "groups":
/services/data/v28.0/chatter/feeds/record/{group id}/feed-items
Docs:
http://www.salesforce.com/us/developer/docs/chatterapi/Content/connect_resource_feeds_record.htm
http://www.salesforce.com/us/developer/docs/chatterapi/Content/connect_resources_how_to.htm#cc_post_to_groups
Were you looking at the "Groups Feed Resources" documentation (http://www.salesforce.com/us/developer/docs/chatterapi/Content/connect_resource_feeds_groups.htm)? If so, we'll add some information to that page to clarify which resource you need to get the feed of a specific group. I can see how it's not clear currently.
All Answers
Yes, you need to use "record" in the URL instead of "groups":
/services/data/v28.0/chatter/feeds/record/{group id}/feed-items
Docs:
http://www.salesforce.com/us/developer/docs/chatterapi/Content/connect_resource_feeds_record.htm
http://www.salesforce.com/us/developer/docs/chatterapi/Content/connect_resources_how_to.htm#cc_post_to_groups
Were you looking at the "Groups Feed Resources" documentation (http://www.salesforce.com/us/developer/docs/chatterapi/Content/connect_resource_feeds_groups.htm)? If so, we'll add some information to that page to clarify which resource you need to get the feed of a specific group. I can see how it's not clear currently.
perfect! thanks for this.
i agree - the docs can be tricky to figure out what everything is called / refers to!
thanks.
http://www.salesforce.com/us/developer/docs/chatterapi/Content/intro_feeds_feed_items.htm