The common interface for components that initiate liking.

Extends Protocol:NSObject
Declared in:FBSDKLiking.h

The objectID for the object to like.

@property (nonatomic, copy) NSString *objectID;

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.

Declared In: FBSDKLiking.h

The type of object referenced by the objectID.

@property (nonatomic, assign) FBSDKLikeObjectType objectType;

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.

Declared In: FBSDKLiking.h