开发者

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

开发者 https://www.devze.com 2023-04-02 18:59 出处:网络
private final class ScoredialogListener implements DialogListener { @Override public void onComplete(Bundle values) {

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

精彩评论

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