| Package | com.myflashlab.air.extensions.fb |
| Class | public class Share |
| Inheritance | Share flash.events.EventDispatcher |
Facebook.share.
| Method | Defined By | ||
|---|---|---|---|
shareDialog($content:ShareContent, $callback:Function):void
Use this method to allow users share a content on their account. | Share | ||
shareMessenger($content:ShareContent, $callback:Function):void
Use this method to allow users share a content on Facebook messenger app. | Share | ||
| shareDialog | () | method |
public function shareDialog($content:ShareContent, $callback:Function):voidUse this method to allow users share a content on their account.
Parameters
$content:ShareContent — The content instance to be shared.
| |
$callback:Function — expects 3 parameters.
|
| shareMessenger | () | method |
public function shareMessenger($content:ShareContent, $callback:Function):voidUse this method to allow users share a content on Facebook messenger app.
Parameters
$content:ShareContent — The content instance to be shared.
| |
$callback:Function — This callback will be called ONLY if the operation fails because of
not being able to show the messenger dialog
|