Facebook launches new APIs to make it easier for real-time activity to be accessed