| Package | com.distriqt.extension.facebookapi.appinvites | 
| Interface | public interface AppInvite extends flash.events.IEventDispatcher | 
App Invites are a content-rich, personal way for people to invite their Facebook friends to a mobile app.
App Invites does not require Facebook Login.
| Method | Defined By | ||
|---|---|---|---|
| canShow():Boolean Deprecated: DeprecatedIndicates whether it is possible to show the App Invite dialog. | AppInvite | ||
| show(content:Object):Boolean Deprecated: DeprecatedShows the App Invite dialog using the provided content. | AppInvite | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when the user cancelled an App Invite dialog | AppInvite | |||
| Dispatched when the Facebook App Invite dialog has completed successfully. | AppInvite | |||
| Dispatched when an error occurred from an App Invite dialog errorMessage will contain details on the error that occurred. | AppInvite | |||
| canShow | () | method | 
 public function canShow():BooleanIndicates whether it is possible to show the App Invite dialog.
Returns| Boolean—trueif the dialog can be shown andfalseotherwise | 
| show | () | method | 
 public function show(content:Object):Boolean
Shows the App Invite dialog using the provided content.
		 You must create the content using one of the builders:
		 
AppInviteContentBuilderParameters
| content:Object— App Invite content created using one the builder | 
| Boolean—trueif the dialog will be displayed andfalseif it is not available | 
         var builder:AppInviteContentBuilder = new AppInviteContentBuilder()
             .setAppLinkUrl("https://www.mydomain.com/myapplink")
             .setPreviewImageUrl("https://www.mydomain.com/my_invite_image.jpg");
         
             var success:Boolean = FacebookAPI.service.appInvite.show( builder.build() );
         | facebookapi:appinvite:dialog:cancelled | Event | 
com.distriqt.extension.facebookapi.events.AppInviteEventcom.distriqt.extension.facebookapi.events.AppInviteEvent.DIALOG_CANCELLEDDispatched when the user cancelled an App Invite dialog
| facebookapi:appinvite:dialog:completed | Event | 
com.distriqt.extension.facebookapi.events.AppInviteEventcom.distriqt.extension.facebookapi.events.AppInviteEvent.DIALOG_COMPLETED
Dispatched when the Facebook App Invite dialog has completed successfully.
| facebookapi:appinvite:dialog:error | Event | 
com.distriqt.extension.facebookapi.events.AppInviteEventcom.distriqt.extension.facebookapi.events.AppInviteEvent.DIALOG_ERROR
Dispatched when an error occurred from an App Invite dialog
		 errorMessage will contain details on the error that occurred.