Integrate Facebook SDK

What is the recommended way to integrate Facebook SDK to a cocos2dx app since the shutdown of SDKBOX?
Is there any documentation / sample code?

Create your own C++ to native layer, and do it natively is the best solution for cross platform SDK.

And for Android only?
There is a simple solution?