Latest 0.1.1
License MIT
Platforms ios 7.0, requires ARC
Dependencies Facebook-iOS-SDK

Build Status

[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];

Accepted activityItems Types

  • FBLinkShareParams: Accepts only single
  • FBPhotoParams: Accepts only single
  • NSURL: Accepts only single
  • UIImage: Accepts single / multiple

Can perform activity when

  • 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.

  1. Register Facebook App
  2. In your .plist, set FacebookAppID as your FB App ID. (like 7828392093)
  3. In your .plist, set FacebookDisplayName as you FB App’s Display Name.
  4. Setup URL Scheme like fb42 where 42 is your FB App ID (For FB App ID:7828392093, the URL Scheme is fb7828392093)


pod "AQSFacebookMessengerActivity"

Link to Documents

Related Projects


Latest podspec

    "name": "AQSFacebookMessengerActivity",
    "version": "0.1.1",
    "summary": "[iOS] UIActivity Class for sharing with Facebook Messeger",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "kaiinui": "[email protected]"
    "source": {
        "git": "",
        "tag": "v0.1.1"
    "source_files": "AQSFacebookMessengerActivity/Classes/**/*.{h,m}",
    "resources": [
    "requires_arc": true,
    "platforms": {
        "ios": "7.0"
    "dependencies": {
        "Facebook-iOS-SDK": []

Pin It on Pinterest

Share This