开发者

how to create custom facebook dialog box for "POST TO WALL"

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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜