22/05/2013 - Have you checked the Facebook Developer Login documentation? They cover login flow and generating user & app tokens (by calling the FB .