HIVE SDK for Android

Classes | Functions
SocialFacebook

SocialFacebook More...

Classes

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

Functions

static void com.hive.SocialFacebook.getMyProfile (ProfileListener listener)
 Request profile information of Facebook certified users. More...
 
static void com.hive.SocialFacebook.getFriends (ProfileListener listener)
 Request Facebook friends list. More...
 
static void com.hive.SocialFacebook.sendMessageFacebook (SocialFacebookMessage messageContents, SendMessageFacebookListener listener)
 Send message to Facebook friend. More...
 
static void com.hive.SocialFacebook.showInvitationDialog (SocialFacebookMessage inviteContents, ShowInvitationDialogListener 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. More...
 
static void com.hive.SocialFacebook.postFacebookWithContentURL (String contentURL, PostFacebookListener listener)
 Post messages and images on Facebook timeline. More...
 
static boolean com.hive.SocialFacebook.isLogin ()
 사용자의 Facebook 세션 정보가 client에 있는 여부를 반환한다. More...
 
void com.hive.SocialFacebook.ProfileListener.onProfile (ResultAPI result, List< ProfileFacebook > profileList)
 Returns HIVE Profile / Friend Information. More...
 
void com.hive.SocialFacebook.SendMessageFacebookListener.onSendMessageFacebook (ResultAPI result)
 Returns Facebook message transmission result. More...
 
void com.hive.SocialFacebook.ShowInvitationDialogListener.onShowInvitationDialog (ResultAPI result, List< String > invitedUserList)
 Returns Facebook user invite to friend. More...
 
void com.hive.SocialFacebook.PostFacebookListener.onPostFacebook (ResultAPI result)
 Returns Facebook posting result. More...
 

Detailed Description

SocialFacebook

Function Documentation

§ getFriends()

static void com.hive.SocialFacebook.getFriends ( ProfileListener  listener)
static

Request Facebook friends list.

Parameters
listenerAPI call result listener

§ getMyProfile()

static void com.hive.SocialFacebook.getMyProfile ( ProfileListener  listener)
static

Request profile information of Facebook certified users.

Parameters
listenerAPI call result listener

§ isLogin()

static boolean com.hive.SocialFacebook.isLogin ( )
static

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

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

§ onPostFacebook()

void com.hive.SocialFacebook.PostFacebookListener.onPostFacebook ( ResultAPI  result)

Returns Facebook posting result.

Parameters
resultAPI call result

§ onProfile()

void com.hive.SocialFacebook.ProfileListener.onProfile ( 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()

void com.hive.SocialFacebook.SendMessageFacebookListener.onSendMessageFacebook ( ResultAPI  result)

Returns Facebook message transmission result.

Parameters
resultAPI call result

§ onShowInvitationDialog()

void com.hive.SocialFacebook.ShowInvitationDialogListener.onShowInvitationDialog ( 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 com.hive.SocialFacebook.postFacebookWithContentURL ( String  contentURL,
PostFacebookListener  listener 
)
static

Post messages and images on Facebook timeline.

Parameters
contentURLFacebook posting information URL.
listenerAPI call result

§ sendMessageFacebook()

static void com.hive.SocialFacebook.sendMessageFacebook ( SocialFacebookMessage  messageContents,
SendMessageFacebookListener  listener 
)
static

Send message to Facebook friend.

Parameters
messageContentsFacebook message to be sent
listenerAPI call result listener

§ showInvitationDialog()

static void com.hive.SocialFacebook.showInvitationDialog ( SocialFacebookMessage  inviteContents,
ShowInvitationDialogListener  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 © GAMEVIL COM2US PLATFORM Inc. All Right Reserved. Terms of Use Privacy Policy