facebook - Android: Post Feed Dialog, but post can be seen only me -


i don't known why occurred public last week.but today when test again,it showed me lock , said me in facebook on right of post.

i have searched issue in stackoverflow,found method change manually. did not worked.

someone said change privacy setting:apps > your_app_name > settings > permissions > default activity privacy.

someone said change in code set audience:

authbutton.setdefaultaudience(sessiondefaultaudience.everyone); 

thanks tips.

i think have resolved problem.

don't use logginbutton log in when want post. use code below log in:

session = new session(this); session.setactivesession(session); session.openforpublish(new session.openrequest(this)                     .setcallback(statuscallback)                     .setloginbehavior(sessionloginbehavior.suppress_sso)                     .setpermissions(arrays.aslist("publish_actions"))); 

note: openforpublish not openforread.and set permission.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -