Skip to content
Titanium SDK

facebook

Support for the native Facebook SDK in Titanium using JavaScript

4.0.1AndroidMar 13, 2015android-4.0.1Not the current release →

Install

A module is a zip you unpack in your project. There is no installer command yet - a ti module install is planned but does not exist today, so the steps below are the ones that work.

  1. 1. Download the release archive

  2. 2. Unpack it at your project root

    cd /path/to/your-project
    unzip ~/Downloads/facebook-android-4.0.1.zip

    The archive already contains the full path, so it lands in place:

    • modules/android/facebook/4.0.1/
  3. 3. Add it to tiapp.xml

    <modules>
      <module platform="android" version="4.0.1">facebook</module>
    </modules>

    The platform attribute is the packager’s name for the platform, which is iphone for iOS - the same word the archive uses in its own path.

  4. 4. Require it from your app

    const mod = require('facebook');

Manifest

Android 4.0.1

Minimum SDK
3.5.1.RC
Module API version
2
Architectures
armeabi, armeabi-v7a, x86
Resource package
com.facebook.android
GUID
e4f7ac61-1ee7-44c5-bc27-fa6876e2dce9
Author
Mark Mokryn and Ashraf A. S. (Appcelerator)
License
Apache License Version 2.0
Copyright
Copyright (c) 2014 by Mark Mokryn, Copyright (c) 2009-2015 by Appcelerator

API reference

This release was published without compiled API documentation - most were. The module’s current reference covers the same API, though it describes a later version.