Prepares facebook functions to be interfaced.