iOS SDK iOS SDK v.1.4 Appendix (iOS SDK v.1.4)
last update 2015-6-23

Preparations for SNS Connection

Preparations for Facebook Connection

Working on “Facebook Developers” Website

If you wish to have your apps connected to Facebook, you need to first register the app information at Facebook Developers website.
Refer for instructions provided at Facebook Developers which explains detailed steps for you to register the information.
When you are registering the app information at Facebook Developers, make sure to save your App ID and your App Secret somewhere safe  for you will need them later when you enable SNS Connection feature on Appiaries’ Control Panel.

ios-sns@fb-figure-1.png

Working on Appiaries Control Panel

You also need some settings on Control Panel as well.
For details, please refer to Control Panel User’s Manual – SNS Connection – Enable Facebook Connection.

Working on App Developments

Get Facebook SDK

Download Facebook SDK (.pkg) from Facebook SDK Download page.
Once downloaded, open the pkg file, follow the instructions to install Facebook SDK to your local environment.

Adding the Library to Your Xcode Project

You will notice the SDK is installed to ~/Documents/FacebookSDK/ folder on your local environment.

Find FacebookSDK.framework and Bolts.framework in this folder. Drag & drop them to your Xcode project.

ios-sns@fb-figure-2.png

Add to your project “AppiariesFacebookKit.framework” which is included in the downloaded iOS SDK zip file.
For “Before you begin the development” explains in details how you can add “AppiariesSDK.framework” to your project, and is exactly the same when you import the above file to your project.

Open the file <APP NAME>-Prefix.pch, and import both <FacebookSDK/FacebookSDK.h> and <AppiariesFacebookKit/APISFacebookUtils.h>.

ios-sns@fb-figure-3.png

This is about it for your app development.

Preparations for Twitter Connection

Working on “Twitter Application Management” Website

If you wish to have your apps connected to Twitter, you need to first register the app information at Twitter Application Management website.
Refer for instructions provided at Twitter Application Management which explains detailed steps for you to register the information.
When you are registering the app information at Twitter Application Management, make sure to save your Consumer Key somewhere safe  for you will need it later when you enable SNS Connection feature on Appiaries’ Control Panel.

ios-sns@tw-figure-1.png

Working on Appiaries Control Panel

You also need some settings on Control Panel as well.
For details, please refer to Control Panel User’s Manual – SNS Connection – Enable Twitter Connection.

Working on App Developments

Adding the Library to Your Xcode Project

Open the file <APP NAME>-Prefix.pch  and import <AppiariesSDK/APISTwitterUtils.h>.

ios-sns@tw-figure-2.png

This is about it for your app development.

Related