I am trying to get the publish_actions by using the following code
Step 1: to authorize the app
step 2: once app get authorized, To get the publish_actions permission
it comes into LoginManager onCancel()
How do i get the publish_actions permission ?