HIVE SDK for iOS

Classes | Typedefs | Functions
SocialFacebook

SocialFacebookHIVE users can view and modify their profile information and provide a social game service where they can make friends and play games with their friends together. More...

Classes

class  HIVEProfileFacebook
 Facebook user profile information. More...
 
class  HIVESocialFacebookMessage
 Facebook message destinations. More...
 
class  HIVESocialFacebook
 사용자 프로필, 친구 목록, 친구 초대, SNS 포스팅 Social Network Service API (GooglePlus, Facebook ETC) More...
 

Typedefs

typedef void(^ HIVESocialProfileFacebookHandler) (HIVEResultAPI *result, NSArray< HIVEProfileFacebook *> *profileList)
 Returns HIVE Profile / Friend Information. More...
 
typedef void(^ HIVESocialSendMessageFacebookHandler) (HIVEResultAPI *result)
 Returns Facebook message transmission result. More...
 
typedef void(^ HIVESocialShowInvitaionDialogHandler) (HIVEResultAPI *result, NSArray< NSString *> *invitedUserList)
 Returns Facebook user invite to friend. More...
 
typedef void(^ HIVESocialPostFacebookHandler) (HIVEResultAPI *result)
 Returns Facebook posting result. More...
 

Functions

(void) + HIVESocialFacebook::getMyProfile:
 Request profile information of Facebook certified users. More...
 
(void) + HIVESocialFacebook::getFriends:
 Request Facebook friends list. More...
 
(void) + HIVESocialFacebook::sendMessageFacebook:handler:
 Send message to Facebook friend. More...
 
(void) + HIVESocialFacebook::showInvitationDialog:handler:
 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...
 
(void) + HIVESocialFacebook::postFacebookWithContentURL:handler:
 Post messages and images on Facebook timeline. More...
 
(BOOL) + HIVESocialFacebook::isLogin
 사용자의 Facebook 세션 정보가 client에 있는 여부를 반환한다. More...
 

Detailed Description

SocialFacebook

HIVE users can view and modify their profile information and provide a social game service where they can make friends and play games with their friends together.


HIVE can make HIVE friends and synchronize the list by using external user information such as Facebook and contacts on your device.
The SocialFacebook class provides Facebook profile, Facebook friend list, and posting.

Typedef Documentation

§ HIVESocialPostFacebookHandler

typedef void(^ HIVESocialPostFacebookHandler) (HIVEResultAPI *result)

Returns Facebook posting result.

Parameters
resultAPI call result

§ HIVESocialProfileFacebookHandler

typedef void(^ HIVESocialProfileFacebookHandler) (HIVEResultAPI *result, NSArray< HIVEProfileFacebook * > *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.)

§ HIVESocialSendMessageFacebookHandler

typedef void(^ HIVESocialSendMessageFacebookHandler) (HIVEResultAPI *result)

Returns Facebook message transmission result.

Parameters
resultAPI call result

§ HIVESocialShowInvitaionDialogHandler

typedef void(^ HIVESocialShowInvitaionDialogHandler) (HIVEResultAPI *result, NSArray< NSString * > *invitedUserList)

Returns Facebook user invite to friend.

Parameters
resultAPI call result
invitedUserListList of IDs of invited Facebook users

Function Documentation

§ getFriends:()

+ (void) getFriends: (HIVESocialProfileFacebookHandler handler

Request Facebook friends list.

Facebook 인증 사용자 친구 정보 조회

Parameters
handlerAPI call result handler
friendType친구의 형태
listenerAPI 호출 결과 통지 리스너

§ getMyProfile:()

+ (void) getMyProfile: (HIVESocialProfileFacebookHandler handler

Request profile information of Facebook certified users.

Facebook 인증 사용자 정보 조회

Parameters
handlerAPI call result handler
listenerAPI 호출 결과 통지 리스너

§ isLogin()

+ (BOOL) isLogin

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

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

§ postFacebookWithContentURL:handler:()

+ (void) postFacebookWithContentURL: (NSString *)  contentURL
handler: (HIVESocialPostFacebookHandler handler 

Post messages and images on Facebook timeline.

게임의 소식을 흥미 있게 전하기 위해서 Link를 Facebook 에 포스팅하여 글쓴이의 타임라인에 글을 노출 시키는 기능을 제공한다 Added in HIVE SDK 4.5.0

Parameters
contentURLFacebook posting information URL.
handlerAPI call result
contentsFacebook에 공유할 링크
handlerAPI 호출 결과 통지

§ sendMessageFacebook:handler:()

+ (void) sendMessageFacebook: (HIVESocialFacebookMessage *)  contents
handler: (HIVESocialSendMessageFacebookHandler handler 

Send message to Facebook friend.

Facebook 인증 사용자 친구 메시지 전송

Parameters
contentsFacebook message to be sent
handlerAPI call result handler
vid
message
listenerAPI 호출 결과 통지 리스너

§ showInvitationDialog:handler:()

+ (void) showInvitationDialog: (HIVESocialFacebookMessage *)  contents
handler: (HIVESocialShowInvitaionDialogHandler handler 

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.

Facebook 인증 사용자 친구 요청 대화상자 호출

but Facebook prohibited this.)

Parameters
contentsFacebook invite message
handlerAPI call result handler
message
listenerAPI 호출 결과 통지 리스너
Copyright © GAMEVIL COM2US PLATFORM Inc. All Right Reserved. Terms of Use Privacy Policy