Officialtidev/ti.facebook
Support for the native Facebook SDK in Titanium using JavaScript
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. Download the release archive
2. Unpack it at your project root
cd /path/to/your-project unzip ~/Downloads/facebook-iphone-5.2.2.zipThe archive already contains the full path, so it lands in place:
- modules/iphone/facebook/5.2.2/
3. Add it to
tiapp.xml<modules> <module platform="iphone" version="5.2.2">facebook</module> </modules>The
platformattribute is the packager’s name for the platform, which isiphonefor iOS - the same word the archive uses in its own path.4. Require it from your app
const mod = require('facebook');
Manifest
iOS 5.2.2
- Minimum SDK
- 5.0.0
- Module API version
- 2
- Architectures
- armv7, arm64, i386, x86_64
- GUID
- da8acc57-8673-4692-9282-e3c1a21f5d83
- Author
- Mark Mokryn, Ng Chee Kiat and Hans Knoechel
- License
- Apache License Version 2.0
- Copyright
- Copyright (c) 2009-2016 by Appcelerator, Inc.
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.