HIVE SDK for Unity3D

Classes | Functions
SocialFacebook

@addgroup SocialFacebook More...

Classes

class  hive.SocialFacebook
 
class  hive.ProfileFacebook
 Facebook user profile information. More...
 
class  hive.FacebookMessage
 Facebook message destinations. More...
 

Functions

delegate void hive.SocialFacebook.onProfileFacebook (ResultAPI result, List< ProfileFacebook > profileList)
 Returns HIVE Profile / Friend Information.
 
delegate void hive.SocialFacebook.onSendMessageFacebook (ResultAPI result)
 Returns Facebook message transmission result.
 
delegate void hive.SocialFacebook.onShowInvitationDialogFacebook (ResultAPI result, List< String > invitedUserList)
 Returns Facebook user invite to friend.
 
delegate void hive.SocialFacebook.onPostFacebook (ResultAPI result)
 Returns Facebook posting result.
 
static void hive.SocialFacebook.getMyProfile (onProfileFacebook listener)
 Request profile information of Facebook certified users.
 
static void hive.SocialFacebook.getFriends (onProfileFacebook listener)
 Request Facebook friends list.
 
static void hive.SocialFacebook.sendMessageFacebook (FacebookMessage messageContents, onSendMessageFacebook listener)
 Send message to Facebook friend.
 
static void hive.SocialFacebook.showInvitationDialog (FacebookMessage inviteContents, onShowInvitationDialogFacebook listener)
 Show Facebook friend invite dialog to Facebook user
(Note: Generally, to increase the number of social friends, you can give a reward for inviting friends.
 
static void hive.SocialFacebook.postFacebookWithContentURL (String contentURL, onPostFacebook listener)
 Post messages and images on Facebook timeline.
 
static Boolean hive.SocialFacebook.isLogin ()
 사용자의 Facebook 세션 정보가 client에 있는 여부를 반환한다.
 

Detailed Description

@addgroup SocialFacebook

Function Documentation

◆ getFriends()

static void hive.SocialFacebook.getFriends ( onProfileFacebook listener)
static

Request Facebook friends list.

Parameters
listenerAPI call result listener

◆ getMyProfile()

static void hive.SocialFacebook.getMyProfile ( onProfileFacebook listener)
static

Request profile information of Facebook certified users.

Parameters
listenerAPI call result listener

◆ isLogin()

static Boolean hive.SocialFacebook.isLogin ( )
static

사용자의 Facebook 세션 정보가 client에 있는 여부를 반환한다.

Returns
Boolean. YES이면 사용자의 Facebook 세션 정보가 client에 있음. 아니면 NO.

◆ onPostFacebook()

delegate void hive.SocialFacebook.onPostFacebook ( ResultAPI result)

Returns Facebook posting result.

Parameters
resultAPI call result

◆ onProfileFacebook()

delegate void hive.SocialFacebook.onProfileFacebook ( ResultAPI result,
List< ProfileFacebook > profileList )

Returns HIVE Profile / Friend Information.

Parameters
resultAPI call result
profileListFacebook user's profile list.

(If you ask for your profile, one result is returned, and if you ask for friends list, a list of friends is returned.)

◆ onSendMessageFacebook()

delegate void hive.SocialFacebook.onSendMessageFacebook ( ResultAPI result)

Returns Facebook message transmission result.

Parameters
resultAPI call result

◆ onShowInvitationDialogFacebook()

delegate void hive.SocialFacebook.onShowInvitationDialogFacebook ( ResultAPI result,
List< String > invitedUserList )

Returns Facebook user invite to friend.

Parameters
resultAPI call result
invitedUserListList of IDs of invited Facebook users

◆ postFacebookWithContentURL()

static void hive.SocialFacebook.postFacebookWithContentURL ( String contentURL,
onPostFacebook listener )
static

Post messages and images on Facebook timeline.

Parameters
contentURLFacebook posting information URL.
listenerAPI call result

◆ sendMessageFacebook()

static void hive.SocialFacebook.sendMessageFacebook ( FacebookMessage messageContents,
onSendMessageFacebook listener )
static

Send message to Facebook friend.

Parameters
messageContentsFacebook message to be sent
listenerAPI call result listener

◆ showInvitationDialog()

static void hive.SocialFacebook.showInvitationDialog ( FacebookMessage inviteContents,
onShowInvitationDialogFacebook listener )
static

Show Facebook friend invite dialog to Facebook user
(Note: Generally, to increase the number of social friends, you can give a reward for inviting friends.

but Facebook prohibited this.)

Parameters
inviteContentsFacebook invite message
listenerAPI call result listener
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy