Inherits from NSObject
Declared in FBSDKMessengerURLHandler.h

Overview

@class FBSDKMessengerURLHandler

@abstract FBSDKMessengerURLHandler is used to handle incoming URLs from Messenger.

Properties

delegate

@property (nonatomic, weak) id<FBSDKMessengerURLHandlerDelegate> delegate

Instance Methods

canOpenURL:sourceApplication:

@abstract Determines whether an incoming URL can be handled by this class

- (BOOL)canOpenURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication

Parameters

url

The URL passed in from the source application

sourceApplication

The bundle id representing the source application

Return Value

YES if this URL can be handled

Declared In

FBSDKMessengerURLHandler.h

openURL:sourceApplication:

@abstract Attempts to handle the Messenger URL and returns YES if and only if successful. This should be called from the AppDelegate’s -openURL: method

- (BOOL)openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication

Parameters

url

The URL passed in from the source application

sourceApplication

The bundle id representing the source application

Return Value

YES if this successfully handled the URL

Declared In

FBSDKMessengerURLHandler.h