Facebook Login with "publish_actions" permission

Hello,

I am trying to integrate FB with SDKBOX in my app with “publish_actions” permission at the time of login. When I run the code my app crashes with error:

" Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘Publish or manage permissions are not permitted to be requested with read permissions.’ ".

If I separately try to get “publish_actions” permission after login using the following code :smile:PluginFacebook::requestPublishPermissions({FB_PERM_PUBLISH_POST});

, the code runs fine. Is there any way with read and publish permissions both at the time of login as it was possible with Plugin-X ( now obselete ) as given in the following link:
http://www.cocos2d-x.org/wiki/Facebook_API_Reference_for_Cocos2d-x_and_Cocos2d-x-lua

Thanks in advance…!!

I believe facebook’s policy require you to request read permission and post permission in separate requests.