Event.subscribe() function to subscribe to the auth.login event. Hence, the Facebook Login dialog box willappear as shown in the following screenshot: As .