Added preliminary code for Facebook support.