Hello all,
I am adding facebook login in my app using Facebook SDKBOX and it is working fine in both IOS and Android ,but i am unable to fetch user email ID.
Does anyone have a same problem? Please help me to fix it! Thank you so much.
Hello all,
I am adding facebook login in my app using Facebook SDKBOX and it is working fine in both IOS and Android ,but i am unable to fetch user email ID.
Does anyone have a same problem? Please help me to fix it! Thank you so much.
email
permission std::vector<std::string> permissions;
permissions.push_back(FB_PERM_READ_EMAIL);
PluginFacebook::requestReadPermissions(permissions);
PluginFacebook::FBAPIParam params;
params["fields"] = "name,email";
PluginFacebook::api("me", "GET", params, "your_tag_id");
Thank you for reply.
I added this code to fetch email id in javascript.
var params = new Object();
params[“fields”] = “name,email”;
sdkbox.PluginFacebook.api(“me”, “GET”, params, “your_tag_id”);
But i am getting this error
TypeError: sdkbox.PluginFacebook.api is not a function
Any update on this issue?
We’ll release a new version to fix this issue this 8/27
Thank you very much.
is this issue resolved in new version?
Yes, it should be fixed in 1.2.3
It is already been fixed and released.
Ya It is working fine in sample IOS app but in android i am getting Fatal SIGNAL error once after getting response from facebook.Please help me to fix this issue.
use this
sdkbox::FBAPIParam params;
params[“fields”] = “name,email”;
sdkbox::PluginFacebook::api(“me”, “GET”,params , “me”);