This tutorial focuses on both these concepts - * How to use Facebook Connect to Log a user into your HTML5 application and * Get User data from Facebook.