FBLinkShareParams
이 클래스는 더 이상 최신 버전의 SDK에서 사용할 수 없습니다.
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

This object is used to encapsulate state for parameters to a share a link, typically with the Facebook Native Share Dialog or the Message Dialog.

Inherits from:FBDialogsParams
Declared in:FBLinkShareParams.h
속성
caption

The caption to be used with the link. Is only used if the link is non-nil.

@property (nonatomic, copy) NSString *caption;
정의된 값: FBLinkShareParams.h
dataFailuresFatal

If YES, treats any data failures (e.g. failures when getting data for IDs passed through "friends" or "place") as a fatal error, and will not continue with the status update.

@property (nonatomic, assign) BOOL dataFailuresFatal;
정의된 값: FBLinkShareParams.h
friends

An array of NSStrings or FBGraphUsers to tag in the post. If using NSStrings, the values must represent the IDs of the users to tag.

@property (nonatomic, copy) NSArray *friends;
정의된 값: FBLinkShareParams.h
linkDescription

The description associated with the link. Is only used if the link is non-nil.

@property (nonatomic, copy) NSString *linkDescription;
정의된 값: FBLinkShareParams.h
name

The name, or title associated with the link. Is only used if the link is non-nil.

@property (nonatomic, copy) NSString *name;
정의된 값: FBLinkShareParams.h
picture

The link to a thumbnail to associate with the post. Is only used if the link is non-nil. Only "http" or "https" schemes are supported. Note that this property should not be used to share photos; see the photos property.

@property (nonatomic, copy) NSURL *picture;
정의된 값: FBLinkShareParams.h
place

An NSString or FBGraphPlace to tag in the status update. If NSString, the value must be the ID of the place to tag.

@property (nonatomic, copy) id place;
정의된 값: FBLinkShareParams.h
ref

A text reference for the category of the post, used on Facebook Insights.

@property (nonatomic, copy) NSString *ref;
정의된 값: FBLinkShareParams.h
인스턴스 메서드
initWithLink:name:caption:description:picture:

Designated initializer

매개변수설명
link

The required link to share

name

The optional name to describe the share

caption

The optional caption to describe the share

description

The optional description to describe the share

picture

The optional url to use as the share's image

- (instancetype)
initWithLink: (NSURL *)link
name: (NSString *)name
caption: (NSString *)caption
description: (NSString *)description
picture: (NSURL *)picture;
정의된 값: FBLinkShareParams.h