+ Start a Discussion

action on standard buttun on Visualforce page


I have created a visualforce page for a community application in which I have standard catter functioality.
On my visualforc page I am showing number of comments on the Visualforce page and chatter functionality is at the bottom of the page.
I want whenever I post anything about the page then my comment count should be incresed by 1.

I am using action poller to refresh the count right now and calling it after every 5 secs but I think this is not efficient method.

Please advice.