Harvest FB Posts / Twitter Tweets based on time of posting

Hi There,

Was just wondering if there is a way we could scrape , FB posts or Twitter Tweets for certain keywords based on say last 24 hours . I did find a google 24 hrs search engine while harvesting as an option , but it didn’t give me any results at all. So any sugggestion in this regard would be welcome.

Thanks,