function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JohnDTheMavenJohnDTheMaven 

Can “Customer Community Login” make use of ConnectAPI.ChatterFeeds.* classes and methods?

Can "Customer Community Login" license make use of ConnectAPI.ChatterFeeds.* classes and methods? If so, is there a profile tweak that needs to be done? Initial attempts to execute the following ...

ConnectApi.ChatterFeeds.getFeedItemsFromFeed(null, ConnectApi.FeedType.News, 'me');

...produces the following error....

"Insufficient Privileges - You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary."

If I run the same page as an internal user, the code executes correctly.

Any thoughts?

Thanks for the help.

Cheers,

John
alouie_sfdcalouie_sfdc
The first parameter is for the ID of the community, and when it's null, it represents the internal network. Can you try using the community ID as the first parameter to the ConnectApi.ChatterFeeds.getFeedItemsFromFeed() method?