Search code examples
facebookfacebook-graph-apifacebook-android-sdk

Getting Invalid Scope with new Permission pages_show_list


I'd like to be able to access to the list of pages that the user manage, without using manage_page.

Since 2.5 (Facebook api version) they added pages_show_list allowing you just to see the list of pages. It's perfect for me, it's allowing me to just do a GraphRequest /me/Accounts without manage_page.

PROBLEM: I tried to add pages_show_list permission to the login button (with setReadPermission())

But I'm getting a Invalid Scope on the app. I tried with setPublishPermission but got an Exception in java. They are not meant to be together.


Solution

  • Problem solved after deleting facebook sdk from android studio and putting the new one again + deleting project and creating new one on the facebook dashboard.

    On the facebook dashboard it shown that i was using the 2.4 Api before i unistalled everything.