Skip to content

Native extension for Adobe AIR providing cross-platform API to Facebook SDK 4

License

Notifications You must be signed in to change notification settings

zombaio/AIRFacebook-ANE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

AIRFacebook offers a rich and cross-platform API to the latest Facebook SDK for iOS and Android.

This is a demo application highlighting the core features of the extension. This repository also includes test version of the ANE (inside assets folder) that you are free to use during your development. In order to publish an application that uses this ANE you need to obtain a license.

Key features

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

AIR SDK note

Including this and other extensions in your app increases the number of method references that must be stored in Android dex file. AIR currently supports a single dex file and since the number of such references is limited to a little over 65k, it is possible to exceed the limit by including several native extensions. This will prohibit you from building your app for Android, unless you reduce the number of features the app provides. Please, leave a vote in the report below to help adding multidex support to AIR SDK:

Using the ANE

For instructions on how to set up your app with the ANE and code snippets on using some of the API read the following guides:

Requirements

  • iOS 7+
  • Android 2.3.3+ (ANE v1.2.x), Android 4.0.3+ (ANE v1.3.x)
  • Adobe AIR 18+

Running the demo application

After going through the guide Setting up with AIR app, enter your Facebook app ID in the LoginScreen class. Add Starling and Feathers libraries to your project (compiled SWCs are available in assets/libs directory. Finally, set Startup class as your main/document class, compile and run as usually.

Author

Demo application and ANE has been written by Marcel Piestansky.

License

You are given permission to use the ANE in agreement with the following license and copyright terms. Read the EULA before downloading and using this software.

Credits

Demo application uses the following libraries:

Change log

July 22, 2016

  • UPDATED Facebook SDK to v4.14.0 for both iOS and Android

See full change log for previous updates.

About

Native extension for Adobe AIR providing cross-platform API to Facebook SDK 4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ActionScript 100.0%