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

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -