FBOpenGraphActionParams
คลาสนี้ไม่มีให้ใช้งานใน SDK เวอร์ชั่นล่าสุดอีกต่อไป

This object is used to encapsulate state for parameters to an Open Graph share, typically used with the Native Share Dialog or Message Dialog.

Inherits from:FBDialogsParams
Declared in:FBOpenGraphActionParams.h
ทรัพย์สิน
action

The Open Graph action to be published.

@property (nonatomic, retain) id<FBOpenGraphAction> action;
ให้คำรับรองไว้ใน: FBOpenGraphActionParams.h
actionType

The fully qualified type of the Open Graph action.

@property (nonatomic, copy) NSString *actionType;
ให้คำรับรองไว้ใน: FBOpenGraphActionParams.h
previewPropertyName

The name of the property representing the primary target of the Open Graph action, which will be displayed as a preview in the dialog.

@property (nonatomic, copy) NSString *previewPropertyName;
ให้คำรับรองไว้ใน: FBOpenGraphActionParams.h
วิธีการทันใจ
initWithAction:actionType:previewPropertyName:

Designated initializer

พารามิเตอร์คำอธิบาย
action

The action object, typically a dictionary based object created from [FBGraphObject openGraphActionForPost].

actionType

The open graph action type defined in your application settings. Typically, either a common open graph type like "books.reads", or a custom ":".

previewPropertyName

The identifier for object in the open graph action. For example, for books.reads this would be "book".

- (instancetype)
initWithAction: (id<FBOpenGraphAction>)action
actionType: (NSString *)actionType
previewPropertyName: (NSString *)previewPropertyName;
ให้คำรับรองไว้ใน: FBOpenGraphActionParams.h