background preloader

Dialogs

Facebook Twitter

Add Page Tab Dialog. Feed Dialog. Friends Dialog. All Docs Web SDKs Docs/Web SDKs/JavaScript SDK/ On This Page Facebook SDK for JavaScript A rich set of client-side functionality for adding Social Plugins, Facebook Login and Graph API calls. Guides Frameworks Termination of SHA-1 Support. OAuth Dialog. Requests Dialog. Facebook provides invite functionality through the game request dialog, but experienced developers may want to build a custom friend selector that helps maintain their immersive game experience. The way to achieve this is by using the Invitable Friends API. This feature is only available to games with a presence on Facebook Desktop By querying the invitable_friends for a given user, Facebook will return a ranked list of the player's friends who have not yet played the game.

The ordering of the list places people most likely to be interested in playing the game toward the top. This allows developers to construct a multi-friend selector with a customized look and feel, and target people who are most likely to respond positively. Each entry on the list has information about the persons's name, picture and an invite token. The invite_tokens returned from this list can then be passed into the game request dialog under the to parameter, in order to invoke Facebook requests to non-app friends. Send Dialog. Dialogs Overview. Dialogs A simple, consistent way to add social functionality to your apps Overview Dialogs provide a simple, consistent interface to provide social functionality to people using your apps.

Dialogs do not require any additional permissions because they require someone to directly interact with them. Integrating Dialogs.