Android : how to pass parameters to facebook post dialogbox in android

on Tuesday, April 7, 2015


I am using below code for passing the params for facebook dailog but it not work. pls anybody help.



Bundle params = new Bundle();
params.putString("message", "test message");
params.putString("description", "test test test");

facebook.dialog(this, "feed", params, new DialogListener(){

@Override
public void onFacebookError(FacebookError e) {
}

@Override
public void onError(DialogError e) {
}

@Override
public void onComplete(Bundle values) {
}

@Override
public void onCancel() {
}
});

0 comments:

Post a Comment