Beruflich Dokumente
Kultur Dokumente
We want to find view count for an feedItem as per standard topic detail page.
Ex:
ConnectApi.ReadByPage userData =
ConnectApi.ChatterFeeds.getReadByForFeedElement('0DB0P000000U1Hq',
‘0D52900000UQpE5CAL’);
System.debug('userData***' + userData);
Conclusion :
To get the more information about view count & read functionality, we
raised a case with salesforce. Please find below questions & responses
from them.
1. Method 'getReadByForFeedElement', get information about who read a
feed element and when
Salesforce :
Team :
We have tried above method in terms of System Admin profile context who
has View All Data & Modify All Data, But it Didn’t give us expected result.
2. What is the exact connect api call limit per user per day
Salesforce :
https://help.salesforce.com/articleView?id=000316318&language=en_US&t
ype=1&mode=1
Salesforce :
Hi Avanish and Team, I didn't find any examples , however i will check
and update you as soon as possible Regards, Ram
By Salesforce Support on 2019-09-12 07:28:46
What are the possibilities to Hit the connect API
Limit..?
As per salesforce documentation, connect API has 2000 batch per hour per
user limit.(
https://help.salesforce.com/articleView?id=000316318&language=en_US&t
ype=1&mode=1)
Till now we didn’t get any method that will fetch the exact view count for a
particular feed Item , But even if we get that method in future, there is high
chance that user can hit this limit because we have to make that much
connect API call as no of questions visible per page at a time.
PFB Scenario’s where every click on topic detail page, server call will happen
& entire logic will be executed again
Apart from this, above mentioned API limit is per hour per user Limit. So other user
stories like Home page, Whats New , Ask A Button ..etc Or any future user stories
API calls that also be counted in the final user API count.