This object is deprecated!
This object is used to define and configure an optional "Invite" dialog that can be added to the login / adding connection process.
The "Invite" dialog is a proposition to the user to send an invitation to his friends on Facebook.
The socialize.login, socialize.addConnection, socialize.showLoginUI and socialize.showConnectUI methods include an optional "invite" parameter that accepts the Invite object. If the "invite" parameter is specified then the "Invite" dialog will be displayed whenever a user logs-in/connects to Facebook.
|title||string||The title of the "Invite" dialog. The title is presented on the "Invite" dialog as the proposition to the user to invite his friends. The title is not part of the invitation itself.|
The invitation text. The text may include links.
|actionURL||URL||This URL is essentially the heart of the invitation, since typically the purpose of the invitation is to bring users' friends to a certain web page. Practically, when a friend who received an invitation clicks on the invitation acceptance button, he will be redirected to this URL.|
|repeatFreq||int||Optional. The interval in days for repeating the display of the "Invite" dialog, as long as the user has never sent an invitation. The default is 3.|
|repeatCap||int||Optional. The maximum number of times to show the "Invite" dialog, as long as the user has never sent an invitation. The default is 1.|