FB.ApiClient.requireLogin

Description

This method is deprecated - use FB.Connect.requireSession instead.

Ensures user has logged in to your application. If not, then executes a full-page redirect to Facebook to log in and authorize.

Signature

Parameters

callbackFunction

Callback function to be invoked when logging succeeds

callback should have the following signature: function(exception).