OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Facebook Graph API /me/accounts Empty But Token Debugger Not Empty

  • Thread starter Thread starter chrislondon
  • Start date Start date
C

chrislondon

Guest
I have a Facebook token that I'm trying to access Pages with but the API is returning an empty array. That seems like a simple permissions issue but when I debug the token in Facebook's Token Debugger it shows I have permissions to multiple pages.

Is there a way to get the pages to show up in the /me/accounts endpoint? Or is there an endpoint that can get me the granular scopes as listed on the Token Debugger?

Facebook Token Debugger shows pages

Graph API doesn't show pages
<p>I have a Facebook token that I'm trying to access Pages with but the API is returning an empty array. That seems like a simple permissions issue but when I debug the token in Facebook's Token Debugger it shows I have permissions to multiple pages.</p>
<p>Is there a way to get the pages to show up in the <code>/me/accounts</code> endpoint? Or is there an endpoint that can get me the granular scopes as listed on the Token Debugger?</p>
<p><a href="https://i.sstatic.net/4aSR4E6L.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4aSR4E6L.png" alt="Facebook Token Debugger shows pages" /></a></p>
<p><a href="https://i.sstatic.net/23YhKdM6.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/23YhKdM6.png" alt="Graph API doesn't show pages" /></a></p>
Continue reading...
 

Latest posts

Top