We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8b9589 + 613c1e4 commit e283230Copy full SHA for e283230
src/android/ConnectPlugin.java
@@ -240,7 +240,16 @@ public UIDialogListener(ConnectPlugin fba){
240
public void onComplete(Bundle values) {
241
// Handle a successful dialog
242
Log.d(TAG,values.toString());
243
- this.fba.cb.success();
+ JSONObject response = new JSONObject();;
244
+ try {
245
+ for(String key : values.keySet()) {
246
+ response.put(key, values.getString(key));
247
+ }
248
+ } catch (JSONException e) {
249
+ e.printStackTrace();
250
+ } finally {
251
+ this.fba.cb.success(response);
252
253
}
254
255
public void onFacebookError(FacebookError e) {
0 commit comments