/me/accounts not returning pages in v19.0
Related to bug: https://developers.facebook.com/support/bugs/1096399604832261
The /me/accounts endpoint is still not returning pages, even when the app has the advanced business_management permission, as required for v19.0 API.
Works fine for app admin, but not for regular user.
From experimenting today, I think the issue is with the login auth flow.
What seems to be happening is when the FB.login is called, the popup ignores the business_management permission and just requests the user grant page access. It then tries to pop a SECOND popup to request business page permissions. This second popup isn't tied to user click so is generally blocked by browser.
Further, it seems as if the business_management permission is treated as "declined" initially in the auth flow... the only way I can get it to work is by adding the auth_type: "rerequest" flag to FB.login
Ref: https://developers.facebook.com/docs/facebook-login/web/permissions/
We're having the same problem for several clients, even when they're choosing all the pages available, then it only shows a few of them.
Any solution to this issue yet?
Any solution to this issue yet?
We've got the same issue - has anyone solved it?