FBSDKLiking
有此級別的更新版本。前往查看 最新版本。

The common interface for components that initiate liking.

Extends Protocol:NSObject
Declared in:FBSDKLiking.h
資產
objectID

The objectID for the object to like.

@property (nonatomic, copy) NSString *objectID;
Discussion:

This value may be an Open Graph object ID or a string representation of an URL that describes an Open Graph object. The objects may be public objects, like pages, or objects that are defined by your application.

宣告於: FBSDKLiking.h
objectType

The type of object referenced by the objectID.

@property (nonatomic, assign) FBSDKLikeObjectType objectType;
Discussion:

If the objectType is unknown, the control will determine the objectType by querying the server with the objectID. Specifying a value for the objectType is an optimization that should be used if the type is known by the consumer. Consider setting the objectType if it is known when setting the objectID.

宣告於: FBSDKLiking.h