0

react-native-fbsdk (v0.3.0) は、FBShareOpenGraphContent.js で次の型を定義します。

export type ShareOpenGraphContent = {
  /**
   * The type of content to be shared is open graph content.
   */
  contentType: 'open-graph',

  /**
   * Common parameters for share content;
   */
  commonParameters?: ShareContentCommonParameters,

  /**
   * URL for the content being shared.
   */
  contentUrl?: string,

  /**
   * Open Graph Action to be shared.
   */
  action: ShareOpenGraphAction,

  /**
   * Property name that points to the primary Open Graph Object in the action.
   */
  previewPropertyName: string,
};

ShareOpenGraphContentのインスタンスを作成するにはどうすればよいですか?

4

1 に答える 1