Fixed Facebook code to work with Facebook SDK v3.14.1