Code to fect public posts using Facebook Public Graph Search API
Code to fetch tweets using the twitter streaming API