Constant network errors for Facebook request dialog on Galaxy Note

Viewed 338

This new sdk (3.0) by Facebook is quick and very sleek, but on my Samsung Note and Duos continually getting network connection errors with the app. it's happening only in some devices working fine in other devices. But on my app I am now continually getting network connection errors with the app.

I jump to other apps to see if I am having an issue with my WiFi or carrier, but there's no issues anywhere else.

The problem in Facebook seems to occurs continuously, not able to get dialog at least one time out of 100 times .

Just about every time I did this, the network problem comes up. I've rebooted the phone but the problem finds its way back to me.

Anyone experiencing this? Ideas?

this is the code i am using

Bundle params = new Bundle();
params.putString("to", friendId);
params.putString("title", titleStr);
params.putString("message", message);
params.putString("notification_text", notificationText);
params.putString("data", dataStr);
params.putString("frictionless", "1");

String method = "apprequests";

dialog = new WebDialog.Builder(this, session, method, parameters)
            .setOnCompleteListener(this)
            .build();
Window dialog_window = dialog.getWindow();
dialog_window.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,    WindowManager.LayoutParams.FLAG_FULLSCREEN);
dialog.show();

Error Message : reportError errorCode(-1) desc(There was a network error.)

error getMessage There was a network error.

2 Answers
Related