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
Sarah J DSarah J D 

entityid in chatterfeed

Best Answer chosen by Sarah J D
NagendraNagendra (Salesforce Developers) 
Hi Sarah,

The entityId is the recordId of the record you wish to have the chatter:feed display from. 

Use the Global Variable $User.Id:
<chatter:feedWithFollowers entityId="{!$User.Id}"/>
If you want to replicate the Chatter 'News Feed' that a user gets in their Chatter stream, which includes User news items as well as updates on records that the User is following, you probably want to use the <chatter:newsFeed/> component instead.

Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra