| Package | yourminis.api.social |
| Class | public class OpenSocial |
| Inheritance | OpenSocial SocialBase flash.events.EventDispatcher |
| Implements | ISocial |
See also
| Method | Defined by | ||
|---|---|---|---|
|
OpenSocial(_widget:Widget)
| OpenSocial | ||
|
createActivity(title:String, body:String, summary:String = null, url:String = null, media:Array = null):void
Publishes a new activity
| OpenSocial | ||
|
getCurrentView():String
| OpenSocial | ||
|
getFriends():void
| OpenSocial | ||
![]() |
getParameter(parameter_name:String):String
Returns the value of the specified parameter if it has been passed in by the social application, an empty string if not.
| SocialBase | |
![]() |
isBebo():Boolean
This function returns true if the widget is running on the Bebo platform, false otherwise
| SocialBase | |
![]() |
isFacebook():Boolean
This function returns true if the widget is running on the Facebook platform, false otherwise
| SocialBase | |
![]() |
isOpensocial():Boolean
This function returns true if the widget is running on the OpenSocial platform, false otherwise
| SocialBase | |
![]() |
isSocial():Boolean
This function returns true if the widget is running on a social platform, false otherwise
| SocialBase | |
| OpenSocial | () | constructor |
| createActivity | () | method |
public override function createActivity(title:String, body:String, summary:String = null, url:String = null, media:Array = null):voidPublishes a new activity
Parameterstitle:String |
|
body:String |
|
summary:String (default = null) |
|
url:String (default = null) |
|
media:Array (default = null) |
See also
| getCurrentView | () | method |
public override function getCurrentView():StringReturns
String |
See also
| getFriends | () | method |
public override function getFriends():void
See also