Posts under category facebook-graph-api

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.

I find the Facebook developers API documentation a bit confusing. I'm building a small app using PHP and I would like to fetch/scrape data from a page which isn't belong to me.

is it possible using the API or i will need to scrape the data manually? If it's possible, is it possible if i'm not the owner of the page as well?

I am using nodejs to make an api call to add captions to the uploaded video. The response I am getting is success but the captions are not available on the video.

The video is uploaded using {{fb_page_id}}/videos. It returns me a videoId of posted video. Once the video is posted, I am calling {{video_id}}/captions endpoints with caption_file as path to my local file of subtitles. The filename is in the correct format of filename.locale.srt.

Here's the documentation link for captions upload https://developers.facebook.com/docs/graph-api/reference/video/captions/

While using the curl, It is working fine. Here's the curl I am using curl -F 'captions_file=@\"${subtitleFilePath}\"' -F 'method=POST' 'https://graph-video.facebook.com/v19.0/1109093056874668/captions?access_token={{access_token}}&default_locale=none&locales_to_delete=[]'

Looking how to make this request using something like axios, or nodejs-request