Packageyourminis.api.social
Classpublic class OpenSocial
InheritanceOpenSocial Inheritance SocialBase Inheritance flash.events.EventDispatcher
ImplementsISocial

The OpenSocial class is responsible for handling Simple Social API requests specific to opensocial

See also

yourminis.api.Widget.social
yourminis.api.social.SimpleSocial
yourminis.api.social.ISocial
yourminis.api.social.SocialBase


Public Properties
 PropertyDefined by
 InheritedACTIVITY_CREATED : String
Event fired when an activity has been created
SocialBase
 InheritedAUTHENTICATION_COMPLETE : String
Event fired when authentication is completed
SocialBase
 Inheriteddelegate_friends : *
SocialBase
 InheritedFriends : Array
Get Friends - returns the yourminis version of friends, returning common data across opensocial and facebook
SocialBase
 InheritedSOCIAL_ONGETFRIENDS : String
Event fired when social friends have been retrieved
SocialBase
 Inheritedym_friends : *
SocialBase
 Inheritedym_social_type : String
SocialBase
Protected Properties
 PropertyDefined by
 Inheritedapi : IApiBase
SocialBase
 Inheritedwidget : Widget
SocialBase
Public Methods
 MethodDefined 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
 Inherited
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
 Inherited
isBebo():Boolean
This function returns true if the widget is running on the Bebo platform, false otherwise
SocialBase
 Inherited
isFacebook():Boolean
This function returns true if the widget is running on the Facebook platform, false otherwise
SocialBase
 Inherited
isOpensocial():Boolean
This function returns true if the widget is running on the OpenSocial platform, false otherwise
SocialBase
 Inherited
isSocial():Boolean
This function returns true if the widget is running on a social platform, false otherwise
SocialBase
Constructor detail
OpenSocial()constructor
public function OpenSocial(_widget:Widget)Parameters
_widget:Widget
Method detail
createActivity()method
public override function createActivity(title:String, body:String, summary:String = null, url:String = null, media:Array = null):void

Publishes a new activity

Parameters
title:String
 
body:String
 
summary:String (default = null)
 
url:String (default = null)
 
media:Array (default = null)

See also

getCurrentView()method 
public override function getCurrentView():String

Returns
String

See also

getFriends()method 
public override function getFriends():void

See also