Camera module
Members
-
static,readonlyroblox.module:social.providersstring
-
Enum with the available providers
Methods
-
staticlogin(options, callback)
-
Login to a single social network
Name Type Description optionsObject Login options
Name Type Description prividerprovider The provider that is used for authenticating the user. The following values are currently supported for use with this parameter: facebook, twitter, yahoo, messenger, googleplus, linkedin, aol, foursquare, instagram, renren, qq, sina, kaixin, vkontakte, blogger, wordpress, typepad, paypal, amazon, livejournal, verisign, openid, netlog, signon, orangefrance, mixi, yahoojapan, odnoklassniki, spiceworks, livedoor, skyrock, vznet, xing. Also SAML providers are supported - the format of the provider name is "saml-
". forceAuthenticationboolean optional The default value of this parameter is 'false'. If set to 'true', the user will be forced to provide her social network credentials during the login, even if she is already connected to the social network. This parameter is currently supported by Facebook, Twitter, Renren, and LinkedIn. Please note that the behavior of the various social networks may be slightly different: Facebook expects the current user to enter their password, and will not accept a different user name. Other networks prompt the user to re-authorize the application or allow a different user to log in.
callbackfunction - See:
-
- http://developers.gigya.com/020_Client_API/010_Socialize/socialize.login for full login options
- TODO
-
- NOT IMPLEMENTED
-
staticlogout(callback)
-
Logout from a social network
Name Type Description callbackfunction - TODO
-
- NOT IMPLEMENTED
-
staticpresentShareDialog(text, link, imageURL, snapToElementID, callback)
-
Present a share dialog
Name Type Default Description textstring Text to share
linkstring Link to embed
imageURLstring null optional link
snapToElementIDstring ID of the DOM element
callbackfunction optional Callback
- Supported platforms
-
- Web
- iOS(7.0)
- Android(19)