private final class ScoredialogListener implements DialogListener {
@Override
public void onComplete(Bundle values) {
// TODO Auto-generated method stub
String message = "This is Customize Post this to my wall";
Bundle params = new Bundle();
params.putString("message", message);
mFacebook.dialog(SampleApp.this, "stream.publish", new ScoreDialogListener());
mAsyncRunner.request("me/feed", params, "POST", new ScoreReqestListener(),null);
}
}
I am trying to get the customize facebook dialog box to post a message but every time i am getting default dialog开发者_JS百科 box.
So how to make custom dialog box by using facebook-android api.
Thanks in advance,
Use FaceBook Graph API,
it's simple json request / response
http://developers.facebook.com/docs/reference/api/
http://akcora.wordpress.com/2011/01/28/parsing-facebook-api-json-data-in-php/
精彩评论