开发者

android, posting on facebook not showing the dialog properly

开发者 https://www.devze.com 2023-03-16 18:00 出处:网络
I am posting some data on facebook from an android app. It works fine, apart from the fact that the dialog window is not showing the parameters, like text, etc... ![Please see image attached][1]

I am posting some data on facebook from an android app. It works fine, apart from the fact that the dialog window is not showing the parameters, like text, etc... ![Please see image attached][1]

This is the code that I am using to show the dialog...

            try
            {
                Bundle parameters = new Bundle();
                parameters.putString("message", "this is a test");// the message to post to the wall
                facebookClient.authorize(activity.this, listener);
                facebookClient.dialog(myContext, "stream.publish", par开发者_运维技巧ameters, listener);// "stream.publish" is an API call
            }
            catch (Exception e)
            {
                // TODO: handle exception
                Log.i("test","error = "+e.toString());
            }

does anybody knows what I am doing wrong?

Thanks a lot

0

精彩评论

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