FBSDKShareOpenGraphObject
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

An Open Graph Object for sharing.

Discussion:

The property keys MUST have namespaces specified on them, such as og:image, and og:type is required. See https://developers.facebook.com/docs/sharing/opengraph/object-properties for other properties. You can specify nested namespaces inline to define complex properties. For example, the following code will generate a fitness.course object with a location: FBSDKShareOpenGraphObject *course = [FBSDKShareOpenGraphObject objectWithProperties: @{ @"og:type": @"fitness.course", @"og:title": @"Sample course", @"fitness:metrics:location:latitude": @"41.40338", @"fitness:metrics:location:longitude": @"2.17403", }];

Conforms to:FBSDKCopying, NSSecureCoding
Superclass:FBSDKShareOpenGraphValueContainer
Declared in:FBSDKShareOpenGraphObject.h
클래스 메서드
objectWithProperties:

Convenience method to build a new action and set the object for the specified key.

매개변수설명
properties

Properties for the Open Graph object, which will be parsed into the proper models

+ (instancetype) objectWithProperties:(NSDictionary *)properties;
인스턴스 메서드
isEqualToShareOpenGraphObject:

Compares the receiver to another Open Graph Object.

매개변수설명
object

The other object

- (BOOL) isEqualToShareOpenGraphObject:(FBSDKShareOpenGraphObject *)object;