How to authenticate the user using his gmail or facebook account?

Hi, I’m working on cocos2dx 3.12 c++ version and latest sdkbox version and android project .

I successfully integrated facebook using sdkbox.
But I don’t know how can i authenticate the user using his gmail or facebook account using sdkbox?

Means I want to use sign in with facebook and G+.

please somebody help me.

Thanks.

Not sure about G+, but when you integrate with facebook, you’ll get a facebook_id and user_name from the facebook. For their email address, you have to request specify email permission.

Check out the documentation of SDKBOX
http://docs.sdkbox.com/en/plugins/facebook/v3-cpp/#using-facebook

Hi, nite thank you for your reply. Sorry for my bad English. I think I did not explain properly.

I’ve attach a screen shot please refer it. I want to open this kind of page when user click on button "Sign in with facebook ".

Please focus on following line:-1:
Log in to your facebook account to connect to BigBazaar

  1. Big Bazaar will receive:
    your public profile and email address.

Can I get user’s mobile number?

Thanks.

no, you can’t.