I’ve the same problem since weeks ago.
friends is empty.
void FacebookHandler::onRequestInvitableFriends(const sdkbox::FBInvitableFriendsInfo& friends)
for(auto it = friends.begin(); it != friends.end(); it++)
log("%s %s\n", it->getFirstName().c_str(), it->getLastName().c_str());
According to the sdkbox tutorial:
The custom invite dialog is only available for games with a canvas implementation for the Facebook application. The canvas must be defined but doesn't need to how any web content. If the canvas is not defined a standard invite dialog is used instead.
I created a Facebook Web App and I completed the canvas URL (with a URL non-existent, 404 error, because I don’t know what url I should complete there because my game isn’t a web game).
friends continues returning 0.