Posts under category Meta & Facebook

Hi everyone, I apologize for my "bad" English (thanks chat gpt), but I'll do my best to explain my issue.
I'm referring to the documentation provided by Facebook at https://developers.facebook.com/docs/plugins/like-button/.
In my application code:
window.fbAsyncInit = function() {
FB.init({
appId: 'my id here',
xfbml: true,
version: 'v19.0'
});
};

(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {
return;
}
js = d.createElement(s);
js.id = id;
js.src = "https://connect.facebook.net/pt_BR/sdk.js";
js.crossOrigin = "anonymous"
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
Plus, I've included the div with id="fb-root" and the div for the button.
The error I'm encountering is "The loading of “https://www.facebook.com/plugins/like/connect” in a frame is denied by “X-Frame-Options“ directive set to “deny“," as shown in the console, even though it shouldn't."
Am I making a mistake somewhere?

We get error messages like this when posting a carousel post on Instagram:
{"message":"Only photo or video can be accepted as media type.","type":"OAuthException","code":9004,"error_subcode":2207052,"is_transient":false,"error_user_title":"Media downloaden is mislukt","error_user_msg":"De media konden niet worden opgehaald via deze URI: http://...[VALID URL]","fbtrace_id":"As_84GaQOY9vGMolIqXEgkT"}
Anyone else? We didn't changed anything to the code .. but this pops up quite a lot (though not always?!) Any issues known on the API?
Thanks, Fred.

I'm using the Facebook Graph API to request Instagram media insights. I'm trying to request the metric total_interactions, for media where media_product_type='FEED' and media_type='VIDEO'. I was previously requesting the metric engagement, but switched to total_interactions, according to the API documentation.
The switch is mandatory as using engagement no longer works and results in the following error (even when using versions < v18):
{ "error": { "message": "(#100) This metric engagement is no longer supported on version v18+. For a list of alternative metrics, visit https://developers.facebook.com/docs/instagram-api/reference/ig-media/insights.", "type": "OAuthException", "code": 100, "fbtrace_id": "-" } }
However, I receive the following error when requesting "total_interactions":
{ "error": { "message": "(#100) Incompatible metric (total_interactions) with the media", "type": "OAuthException", "code": 100, "fbtrace_id": "-" } }
The request is the following:
curl -i -X GET "https://graph.facebook.com/v18.0//insights?metric=total_interactions&access_token="
Is anyone able to get the total_interactions metric for feed video insights? I can't tell if there's something I'm doing wrong on my end, or if this is a Facebook bug.