Hi all,
i am doing a android game with Cocos2dx v3.5 C++,
but i don’t know How to share Score on Facebook
i tried many ways, but not success
i hope to receive for help from anyone,
thanks everyone !
Hi all,
i am doing a android game with Cocos2dx v3.5 C++,
but i don’t know How to share Score on Facebook
i tried many ways, but not success
i hope to receive for help from anyone,
thanks everyone !
thank you, i tried it, but i don’t success when use it
can you help me use it ?
Wow, that would be a fast implementation! Facebook has several steps.
Did you follow this: http://sdkbox-doc.github.io/en/plugins/facebook/v3-cpp/
error, i tried fix it, but not success, help me,
can you share me full code of this problem ?
thank you very much !
I would do your sdkbox::PluginFacebook::init()
in AppDelegate or someplace before you actually use FaceBook.
For your error, try sdkbox::FB_LINK
as maybe you don’t have using namespace sdkbox;
someplace.
why are you including plugin\jni.....etc
no need to include sdkbox
anything
just
#include "PluginFacebook/PluginFacebook.h"
can you share me a project(cpp) about share facebook with cocos2d v3 c++ ?
i tried do it, but not suceess !
I think everything you need is here
For SDKBOX you need to pass parameters.
example:
sdkbox import Facebook
Please follow the docs that I mentioned above. They go through everything you need.
init()
and login()
to say the least here.I can help with specific errors, but not really a general “I cannot include a header” This means probably you don’t have the libraries added to your project.
Also, we support iOS and Android only.