Problem with getUserID method of Facebook SDK

Hi guys,
I’m using Facebook SDK version 2.2.0.xx to get userID via method:

sdkbox::PluginFacebook::getUserID();

but the string returned seem to be incorrect. Size of the string returned by this method is 12 characters and not same with userID returned by some tools like findmyfbid.com,… ( 15 characters). I tried to paste it in browser like:

facebook.com/user_id

but the page isn’t available (work fine with userID has size is 15 characters).
Can anybody tell me what’s the issue? And sorry for my bad English.
Have a good day!

We’ll look into this and let you know.

Thanks for your reply!

Not always 15 characters. 1006285308.

Let’s check the ID meaning.

I believe the id has difference meaning.

I agree with that but maybe my explanation is not clear. My real Facebook userID is: 500484183476591 and my game always return is: 500484183476. I tested with 3 accounts and got the same problem.

Yea, so facebook SDK has getUserID function which not returning the real facebook id for the user…

Let’s dig into the API and see if we can get the user’s real id instead

Sorry guys, it’s my mistake and i couldn’t realize that. I converted the id string to const char* before passing it and lost some data.
@yinjimmy, @nite: thank you for taking your time to help me.