Unity3D Facebook SDK for iOS Integration 5. 친구에게 자랑하기
2013년 11월에 했던것을 잊어먹고 있다가 이제야 정리하네요. 유니티3D iOS 페이스북 친구 목록 얻기 및 친구에게 초대 요청하기 를 정리했었습니다. 이번에는 친구에게 자랑하기를 정리해봅니다. 먼저 iOS 플러그인 소스입니다. // iOSFacebookPlugin.h - ( void ) requestBrag:(NSString*)strTitle caption:(NSString*)strCaption description:(NSString*)strDescription picture:(NSString*)strPicture; // iOSFacebookPlugin.mm extern "C" { ... void iOSRequestBrag( const char * pszTitle, const char * pszCaption, const char * pszDescription, const char * pszPicture) { NSString* strTitle = [NSString stringWithUTF8String:pszTitle]; NSString* strCaption = [NSString stringWithUTF8String:pszCaption]; NSString* strDescription = [NSString stringWithUTF8String:pszDescription]; NSString* strP...