Posts under category Meta & Facebook

We had a warning about our Privacy Policy not being accessible and that our app would be disabled if we did not update (we may have had a period of downtime)
We now confirmed that the privacy policy back up but the app has been disabled. when i try to resolve the issue and i enter the url we get an error saying Something went wrong. Refresh the page, and then make your update and submit the form again. when adding privacy policy"
We have even changed the url but still have the issue

I have connected my application into Facebook Ad Library API using https calls. It is working fine on some pages. but in some other pages it does not return all pages ads or in some it does not return any! but when you take a look at the page itself in the Facebook Ad Library Website. It is showing the page ads. An example of this would be Hunger Games page which is at url https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=ALL&view_all_page_id=159746560708670&search_type=page&media_type=all and you can see that it is displaying more than 20 ads in the page but when you try to get its ads from the Ads Library API. it returns {"data":[]}. My code to get the ads from Facebook Library API is.
const axios = require('axios');

let config = {
method: 'get',
url: 'https://graph.facebook.com/v18.0/ads_archive?ad_type=ALL&ad_reached_countries=["AD","AE","AG","AI","AL","AM","AO","AQ","AR","AT","AU","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CL","CM","CO","CR","CV","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FK","FM","FR","GA","GB","GD","GE","GG","GH","GI","GM","GN","GQ","GR","GS","GT","GW","GY","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MG","MH","MK","ML","MM","MN","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NE","NG","NI","NL","NO","NP","NR","NZ","OM","PA","PE","PG","PH","PK","PL","PN","PS","PT","PW","PY","QA","RO","RS","RW","SA","SB","SC","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SZ","TC","TD","TG","TH","TJ","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","US","UY","UZ","VA","VC","VE","VG","VN","VU","WS","XK","YE","ZA","ZM","ZW"]&access_token=ACCESS_TOKEN&ad_active_status=ALL&media_type=ALL&search_page_ids=159746560708670'
};

axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
I have also noticed that when i pass ALL instead of an array of all reached countries in ad_reached_countries param. it would not return any ads and i have to put all possible countries in the value. I have tried so many ways to solve this problem but its not working. I have also tried FB Graph Explorer and its Radlibrary or its Ad Library API script repository but none of them return the expected results. Is there any way that i can solve this problem ?

In API Graph : {ID_Page}/media?fields=insights.metric(ig_reels_avg_watch_time,impressions,reach,saved,likes,comments,shares,plays,video_views,total_interactions)
When utilizing metrics such as : ig_reels_video_view_total_time ig_reels_avg_watch_time clips_replays_count ig_reels_aggregated_all_plays_count,
the request to the URL in 'NEXT' returns the following error : "error": { "message": "An unknown error has occurred.", "type": "OAuthException", "code": 1, "fbtrace_id": "AQRWB_UW7SYri2SKsiCuw_-" }

Hi Team,
I am getting result if i'm using only one breakdown at a time like age,city or country. {media_id}/insights?metric=follower_demographics&period=lifetime&metric_type=total_value&breakdown=age
However getting error when using more than one breakdown at a time.Please find the example below :-
For Ex:- {media_id}/insights?metric=follower_demographics&period=lifetime&metric_type=total_value&breakdown=age.city,country
o/p :- { "error": { "message": "An unknown error has occurred.", "type": "OAuthException", "code": 1, "fbtrace_id": "A_tJhk6-ZU-jxLXPRLWZ6nr" } }
How can i use more than one breakdown at a time to get data fom api.Could you please share the correct way to fetch multiple breakdowns.

We tried sending order_details (interactive) to the customers. And we are getting the error
{"error":{"message":"(#131009) Parameter value is not valid","type":"OAuthException","code":131009,"error_data":{"messaging_product":"whatsapp","details":"Interactive Message type, 'order_details' not supported. Supported types ['button', 'list']"}
We tried using the below link to opt in for payments, but the form doesn't submit data and shows error https://www.facebook.com/help/contact/322487863689187
We came across a support article to add payment gateway integration for India (Razorpay / PayU). But when we try to add payments, it only shows Singapore as the country with Stripe as the option.
How do we enable payments from India using In-app UPI. We currently have fallen back to payment links being sent from Razorpay (without in-app payment flow)