ctapp1
October 6, 2016, 3:20pm
#1
Using this:
std::vectorstd::string permissions;
permissions.push_back(sdkbox::FB_PERM_READ_EMAIL);
permissions.push_back(sdkbox::FB_PERM_READ_USER_FRIENDS);
PluginFacebook::login(permissions);
and the onGetUserInfo callback gets called with iOS but not with Android. Testing exact same build.
nite
October 6, 2016, 11:38pm
#2
Ok we’ll try to reproduce it and let you know.
ctapp1
October 7, 2016, 8:46pm
#3
Thanks, any luck? i am using cocos2dx 3.13.1 sdkbox is updated
ctapp1
October 11, 2016, 4:34pm
#4
hey @nite someitmes I am getting:
GraphRequest Warning: Request without access token missing application ID or client token.
Not sure if this has anything to do with it. I think it has something to do with facebook sdk. There isn’t much documentation on the onGetUserInfo callback tho
ctapp1
October 11, 2016, 8:37pm
#5
I am able to use:
sdkbox::FBAPIParam params;
params["fields"] = "name,email,id";
sdkbox::PluginFacebook::api("/me", "GET", params, "your_tag_id");
Which uses the onAPI callback instead of onGetUserInfo. Still am curious why it’s not working though.
nite
October 11, 2016, 10:56pm
#6
Looks like a bug on our side, we’ll try to fix it asap
nite
October 21, 2016, 10:54pm
#7
We fixed this issue, will release with the update on 9/26
redkoda
October 27, 2016, 5:14am
#8
Looks I have the same issue and seeing “Warning: Request without access token missing application ID or client token.” on login, but no callback.
When I ran sdkbox::PluginFacebook::getSDKVersion(), I get 4.6. How can I get the plugin in version from the code e.g. 2.3.3.
Do you mean 10/26 or 9/26?
nite
November 2, 2016, 8:44pm
#9
Should be fixed with 2.3.4