Updated to support Facebook Mobile Apps ie: apps that are outside of Facebook and FB.Canvas.getPageInfo is not available.