You should query on Feedcomment object and filter by CreatedDate to get the Most Recent Feeds.So,your Query should look like below :-
SELECT ID, CreatedDate, CreatedById, CreatedBy.FirstName, CreatedBy.LastName, ParentId, Parent.Name, Body FROM FeedItem WHERE CreatedDate > LAST_MONTH ORDER BY CreatedDate DESC, Id DESC
Not sure how you are calculating the Most Popular Feeds,do you have any field or something to calculate the same.
I don't understand what you meant by 'didn't get Feedcomment object.I found only Feedcomment trigger.'.This is the same object and it provides triggerable interface.
Not sure how you are calculating the Most Popular Feeds,do you have any field or something to calculate the same.
Hope this helps!!
thanks for your solution.
I didn't get Feedcomment object.I found only Feedcomment trigger.
could you please eloborate it.
Please go through below link to learn more :-
https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_feedcomment.htm