android - Facebook SDK 4.0 get additional permissions -


in app want ask permissions log-in user , publish_actions. want publish picture on user wall after action when ask publish permissions request cancelled. using loginwithpublishpermissions needed permissions. tried

mauthbtn.cancelpermission()  

but nothing changed. looking way obtain both permissions, if not together.

    loginbutton = (loginbutton) view.findviewbyid(r.id.login_button); loginbutton.setreadpermissions(arrays.aslist("public_profile,user_birthday,email")); 

as can see in above example asking birthday email , public profile. can same permission need.

since want post app must reviewed facebook allow post


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -