Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android facebook: Not showing my Message in dialog

I am working on facebook android application but there is one problem i am facing

i am using the following example
Android/Java -- Post simple text to Facebook wall?

so the problem is that everything works here fine, the dialogs etc etc but When it open the screen to upload Walla Message that i have setted up here

        try 
        { 
            System.out.println("*** IN TRY ** ");
            Bundle parameters = new Bundle(); 
            parameters.putString("message", "this is a test");// the message to post to the wall 
            facebookClient.dialog(this, "stream.publish", parameters, this);// "stream.publish" is an API call 
        } 
        catch (Exception e) 
        { 
            // TODO: handle exception 
            System.out.println(e.getMessage()); 
        } 

It does not show me my Message written in the dialog. Whats the problem with that

can anybody Guide me please..

Thanks alot.

like image 341
Shah Avatar asked Aug 18 '11 07:08

Shah


1 Answers

Message has been ignored. You can read about it here: https://developers.facebook.com/docs/reference/dialogs/feed/

This field will be ignored on July 12, 2011 The message to prefill the text field that the user will type in. To be compliant with Facebook Platform Policies, your application may only set this field if the user manually generated the content earlier in the workflow. Most applications should not set this.

like image 199
David Olsson Avatar answered Oct 04 '22 15:10

David Olsson