Posts tagged with facebook-graph-api

I'm creating a facebook tool and the tool requires me to have a token containing the following permissions: pages_show_list, pages_read_engagement, pages_manage_posts Can you tell me what kind of token format has those permissions and can you help me how to get that token?

I tried tokens in EAAG, EAAB format but they don't have enough permissions for my purpose so I'm hoping to get another token format that has full permissions (or at least it has the above permissions like I said)

My project is to post on Facebook using open ai generated content and I created a developers account along with a new Facebook account I need page access token and permissions but the only permissions allowed to me are email, public and payment permissions and I can't get access to page access token and I don't know how to set api endpoint here for redirect url.

I tried making the model that generates the caption but I can't put it here it shows error of not having the valid token

We are using Facebook Login and public_profile advanced access for an iOS app. All reviews are done and on the dashboard there is nothing to submit for a review, all green lights(Business Review is done). When we try to login via an account which has a role on the meta developer "published"(live in old terminology) app, we are seeing the warning below.


Submit for Login Review Some of the permission below have not been approved for use by Facebook.

Submit for review now or learn more

If you are not using Limited Login, you will need to hand all Graph API calls using Graph API, IOS. The access token will not be valid. To learn more about changes to the Facebook SDK for iOS and how you can continue using the Facebook Login SDK, visit the blog.


Issue is that, when you click on Submit for a Review on the warning, it takes you to App Review tab on the meta developers dashboard which does not have anything to submit for a review and everything looks ok.

Anyone has ever seen this? How did you solve the issue? Thanks for the help!

We have doubled checked that app is only using login and public_profile. We are on the newest SDK due to Privacy Manifest requirements of the iOS that is why we are using Limited Login on iOS as well. Normally we should not see this warning but it keeps showing up. I could not find much at the internet regarding the note about "Graph API". Not sure if we somehow call Graph API still but since SDK is updated, this should not happened. How can we check this and make sure that we are not using Limited Login properly or still using Graph API somewhere?

Making get request for creating page-access-token for facebook graph API returns blank data object.

The request is like below according to the official doc:https://developers.facebook.com/docs/facebook-login/guides/access-tokens/#pagetokens

curl -i -X GET "https://graph.facebook.com/{your-user-id}/accounts?access_token={user-access-token}"

This worked at least half years ago, now the request returns blank data[] object. I tried both curl command line and Graph API Explorer.

On Graph API Explorer, Submiting GET https://graph.facebook.com/{version}/{App-Scoped User ID}/permissions returns

{   "data": [     {       "permission": "pages_show_list",       "status": "granted"     },     {       "permission": "pages_read_engagement",       "status": "granted"     },     {       "permission": "pages_read_user_content",       "status": "granted"     },     {       "permission": "public_profile",       "status": "granted"     }   ] } 

But submiting GET https://graph.facebook.com/{version}/{App-Scoped User ID}/accounts returns

{   "data": [   ] } 

Any ideas to solve this issue?


[updated 1] I found the request works for another facebook account. I don't understand why for some accounts request returns blank data(i.e. blank page access token). The user account which fails to create page access token now is the one which could create access tokens last year.

[update 2-A] I checked differences between working example and failed one, and found that requested pages_read_user_content looks like canceled or ignored for the failed one. On graph explorer, after doing "get page access token", pages_show_list and pages_read_engagement are successfully added, but pages_read_user_content is pending with green-colored text. I think this is a hint of this issue, and this article may be related. [updated 2-B] I found another difference about them. After deactivating all permissions for the page on Business Integrations, the pending issue is solved, but the main issue is not solved, so pages_read_user_content seems to be not related to this issue.

[updated3 and solved] I found unofficial tips here. The solution process is a little bit tricky, first you have to run the Delete permission command like this:DELETE https://graph.facebook.com/{version}/{App-Scoped User ID}/permissions and deactivate the app for the facebook page on Business Integrations(after clicking View and edit button for the app, toggle and deactivate all of the WHAT BUSINESS FEATURES CAN BE MANAGED section). Once that's done, you create tokens again from scratch.