Facebook, Twitter and Leaderboard Integration

hello guys,
Can any1 help me in integrating facebook, twitter and leaderboard for my newly developed game for android.
i have tried many things but not success yet.
i know it has to be done using JNI calls but dont know how to do it.
Kindly pls suggest me tutorial or example if you can.
any help will be highly appreciated.
thanks in advance.

If you searched in the forum, then you would find this thread.

i have already tried the above mentioned thread but still i get errors and i am not able to share it on facebook.
can you pls guide me properly if you have any idea about it.
i am struggling with it for many days and still not finding any solution to it.
kindly help me

I have asked @yuye, who is the author of the article to help you.

@jay_dubal hello I’m yuye
U want to intergrate share ask to ur program.
U can reference my tutorials.

@jay_dubal

8.How to integrate “Facebook” and use it in cocos2d-x2.2.2/3.0beta2version (Tutorial1: for Android )
Part1:

Part2:

guys thank you very much for your reply.
yuye i have already gone through your tutorial and still i am not able to figure out what is going wrong in the code or linking part.
i get so many errors in eclipse and i dont know what to do.
i cant figure out what to do for it.
i am struggling very much with it