FrameAllowedMethods() {
    const forbiddenMethods = [
      "constructor",
      "FrameAllowedMethods",
      "MetadataMethods",
      "PromptedMethods",
      "RecordTags",
      "SetAccessLevel",
      "SetUserProfileImage",
      "__CacheMetadata",
      "__GetCachedMetadata",
      "__InvalidateCache",
      "__IsLibraryCreated",
      "__TouchLibrary",
      "__FormatVideoTags",
      "__RecordTags"
    ];

    return Object.getOwnPropertyNames(Object.getPrototypeOf(this))
      .filter(method => !forbiddenMethods.includes(method));
  }
// Whitelist of methods allowed to be called using the frame API
Whitelist of methods allowed to be called using the frame API
Whitelist of methods allowed to be called using the frame API
FrameAllowedMethods() {
    const forbiddenMethods = [
      "constructor",
      "FrameAllowedMethods",
      "MetadataMethods",
      "PromptedMethods",
      "RecordTags",
      "SetAccessLevel",
      "SetUserProfileImage",
      "__CacheMetadata",
      "__GetCachedMetadata",
      "__InvalidateCache",
      "__IsLibraryCreated",
      "__TouchLibrary",
      "__FormatVideoTags",
      "__RecordTags"
    ];
    return Object.getOwnPropertyNames(Object.getPrototypeOf(this))
      .filter(method => !forbiddenMethods.includes(method));
  }
FrameAllowedMethods ( ) { const forbiddenMethods = [ "constructor" , "FrameAllowedMethods" , "MetadataMethods" , "PromptedMethods" , "RecordTags" , "SetAccessLevel" , "SetUserProfileImage" , "__CacheMetadata" , "__GetCachedMetadata" , "__InvalidateCache" , "__IsLibraryCreated" , "__TouchLibrary" , "__FormatVideoTags" , "__RecordTags" ] ; return Object . getOwnPropertyNames ( Object . getPrototypeOf ( this ) ) . filter ( method => ! forbiddenMethods . includes ( method ) ) ; }
Whitelist of methods allowed to be called using the frame API
Whitelist of methods allowed to be called using the frame API