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

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

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -