Facebook API used. Token management. Some style updated.