Posts tagged with facebook-graph-api

I'm getting an error while posting a review on Facebook page using a "POST" method.

{ "error": { "message": "Unsupported post request. Object with ID '311823882006106' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api", "type": "GraphMethodException", "code": 100, "error_subcode": 33, "fbtrace_id": "Ar6_ieLkr0wegRXZ4uQtkoG" } }

But it was working good when I'm getting a review from Facebook page by using "GET" method

I just want to Post a reviews

the problem i have is that sync phone numbers through api cannot be done except if we hashed those phone numbers, when we hash those phone numbers FB will not be able to recognize and match the users and in the estimated audience size we will have below 1000 always and size will be always ---, i tried to change the format of the phone numbers and make them without + sign but it gave the same result unfortunately. i thought that maybe the phone numbers we are uploading has no FB accounts and because of that FB is not able to recognize them but when i uploaded them manually without hashing to FB audience list using FB panel there was matching and i got numbers in the estimated audience size when i tried to hash those same phone numbers and uploaded them manually but hashed to an audience list in FB panel i got the same issue (no recognition) i am hashing using the same method we are using for email (with email there is no issues and everything works as expected) i am using SHA256 for hashing as FB suggested in their documentation. and i am sending phone numbers with country code as FB suggests in their documentation so basically i am doing everything as they listed in their documentation but we are getting no fulfilling or satisfying results with matching. (PS: i am sending all the users and FB is not giving any errors while uploading those users.).

i tried to change the format of the uploaded phone numbers (i uploaded with and without + sign), i am using php laravel in my main project but i tried to hash and upload through golang but i got the same result. also i am normalizing the phone numbers as they listed in the documentation i am sending only numbers without any symbols and leading zeros.

i expect to have audience size when phone numbers uploaded similar to what it happen when emails are uploaded to an audience list.

audience size after upload to audience list manually

audience size after upload to audience list through api

I'm working with the Facebook Graph API to retrieve video insights, and I've encountered a situation where specifying the since and until parameters doesn't seem to affect the results when the period is set to "lifetime." Here's an example of the API request I'm using:

/[VIDEO_ID]/video_insights?metric=total_video_views&since=2023-01-01&until=2023-03-01&period=lifetime

Even when I include the since and until parameters to specify a time range within the lifetime period, I'm getting the same result as when I don't include these parameters. Additionally, I need to retrieve data for total_video_view_time_by_country_id and total_video_view_time_by_age_bucket_and_gender within the given period.

Has anyone else experienced a similar issue? Is there a specific reason why specifying the time range within the lifetime period wouldn't affect the results? Any insights or suggestions would be greatly appreciated!

Thanks in advance for your help! 🙏

I have created a page named Test 1. When I go to Business Suite, my Business Portfolio and add the page Test 1 to Account -> Pages. After adding the page successfully I see page access section where I have full control over the page Test 1.

But after giving permission to the page Test 1 from the Developer app I am unable to generate page information like Page name, page id, access token etc... But when I remove the page from Meta Business Suit/Business Portfolio and again give the permission to the page from the developer app then I am able to generate the page details like access token, name and id.

My question is why I am unable to generate page details from graph api if the page is added to facebook business portfolio?

I have tried multiple time, but when the page is added to Meta Business Portfolio then I am unable to generate page details like id,name and access token

In my application I want users to edit their leadgen forms. As far as I know there is no possibility to edit a leadgen form. Simply creating a new leadgen form with the desired changes would result in losing linked data, such as leads.

Therefore, via the UI (Adsmanager) one would copy the leadgen form and make the desired changes which keeps the linked data (leads).

I was wondering if there is a [leadgen_form_id]/copy endpoint? Or how can I edit a leadgen form without losing linked data.