Added to check to make sure Facebook is enabled before trying to make calls to Facebook SDK.