feat(Facebook Graph API Node): Add support for api v23 (#17240)

This commit is contained in:
Jon
2025-07-21 09:43:46 +01:00
committed by GitHub
parent 5502361a97
commit c0f1867429
3 changed files with 159 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ export async function facebookApiRequest(
qs,
body,
gzip: true,
uri: uri || `https://graph.facebook.com/v8.0${resource}`,
uri: uri || `https://graph.facebook.com/v23.0${resource}`,
json: true,
};
@@ -63,7 +63,7 @@ export function getFields(object: string) {
page: [
{
value: 'affiliation',
description: "Describes changes to a page's Affliation profile field",
description: "Describes changes to a page's affiliation profile field",
},
{
value: 'attire',
@@ -125,7 +125,7 @@ export function getFields(object: string) {
},
{
value: 'hometown',
description: "Describes changes to a page's Homewtown profile field",
description: "Describes changes to a page's Hometown profile field",
},
{
value: 'hours',