facebook integration

hi guys
my problem is ,i create class name facebook, in this class i do facebook stuff like share
i use jni to referenc method called change() founded or placed in cocos2dxActivity class
in this method i want to run facebook class
how i can run this class?
thanks