[iOS] UIActivity class for sharing with Facebook Messenger for iOS
UIActivity *fbmActivity = [[AQSFacebookMessengerActivity alloc] init];
UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:@[fbmActivity]];
[self presentViewController:activityViewController animated:YES completion:NULL];
FBLinkShareParams
: Accepts only singleFBPhotoParams
: Accepts only singleNSURL
: Accepts only singleUIImage
: Accepts single / multiple
- When Facebook Messenger iOS App is installed and FB App information is properly set in
.plist
. - At least one of accepted types provided.
AQSFacebookMessengerActivity
requires 3-min setup.
- Register Facebook App https://developers.facebook.com/apps/
- In your
.plist
, setFacebookAppID
as your FB App ID. (like7828392093
) - In your
.plist
, setFacebookDisplayName
as you FB App's Display Name. - Setup URL Scheme like
fb42
where42
is your FB App ID (For FB App ID:7828392093
, the URL Scheme isfb7828392093
)
pod "AQSFacebookMessengerActivity"
https://dl.dropboxusercontent.com/u/7817937/___doc___AQSFacebookMessengerActivity/html/index.html
- AQSShareService - UX-improved sharing feature in few line.
- Getting Started with the Facebook iOS SDK : https://developers.facebook.com/docs/ios/getting-started#