Can anyone show me how to show invite friend dialog?
cocos2d::plugin::FacebookAgent::FBInfo params;
params.insert(std::make_pair(“message”, “”));
params.insert(std::make_pair(“title”, “”));
cocos2d::plugin::FacebookAgent::getInstance()->appRequest(params, [=](int ret, std::string& msg){ CCLOG("%s", msg.c_str());
if (msg != "User canceled request") { } }); } catch (int e) {}
The code above is old, using plugin-X, how do i do the same with SDKBOX?