Native extension for Adobe AIR providing cross-platform API to Facebook SDK 4
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

AIRFacebook | Facebook extension for Adobe AIR (iOS & Android)

AIRFacebook offers a rich and cross-platform API to Facebook SDK for iOS and Android. Easily implement social interaction in your Adobe AIR app and make it available to the millions of people using Facebook today!

Features

  • User authentication and permission management
  • Content sharing (links, photos) to Facebook feed or via Messenger
  • Sharing custom Open Graph stories
  • Sending Game Requests
  • Open Graph queries
  • Scores & achievements for games

Native SDK versions

  • iOS v4.30.0
  • Android v4.30.0

Getting started

Download the extension from the releases page.

  • com.marpies.ane.facebook.ane
    • Use this package when packaging apps for iOS and Android.
  • com.marpies.ane.facebook-iOS-simulator.ane
    • Use this package when packaging apps for iOS simulator only.
  • com.marpies.ane.facebook-no-iOS-frameworks.ane, iOS-frameworks.zip
    • Use this package if you are having trouble packaging your iOS app. You need to put the contents of iOS-frameworks.zip to AIR_SDK/lib/aot/stub.

When upgrading from AIRFacebook v1.x, see Upgrade notes for AIRFacebook 2.0.0.

Follow this guide to learn how to create your Facebook app id and make the necessary adjustments to your app descriptor.

Using the extension

For a quick overview of some of the API read the following guides:

Requirements

  • iOS 8+
  • Android 4.0.3+
  • Adobe AIR 25+
    • When using AIR 25-27 you need to set -platformsdk to iOS 11 SDK when packaging IPA. AIR 28 or newer does not require this.

Build ANE

ANT build scripts are available in the build directory. Edit build.properties to correspond with your local setup.

Older versions downloads (ZIP)

Author

The ANE has been developed by Marcel Piestansky and is distributed under Apache License, version 2.0.