Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Commit

Permalink
Improve README files
Browse files Browse the repository at this point in the history
  • Loading branch information
philikon committed Aug 21, 2015
1 parent 6f9f01c commit cc80925
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 25 deletions.
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,19 +162,18 @@ FBSDKShareAPI.share(photoContent, "/me", "Check out this cat!", (error, result)

## Running the Sample App
- From the Sample folder, run `npm install`
- Download and install the [Facebook SDK for iOS](https://developers.facebook.com/docs/ios). The XCode projects assume that they're installed in the standard location at ~/Documents/FacebookSDK.
- Open NHSample.xcodeproj
- Download and install the [Facebook SDK for iOS](https://developers.facebook.com/docs/ios). The Xcode projects assume that they're installed in the standard location at ~/Documents/FacebookSDK.
- Open `NHSample.xcodeproj`
- Build and run the app to try it out.

## Installation
- Download and install the [Facebook SDK for iOS](https://developers.facebook.com/docs/ios). The XCode projects assume that they're installed in the standard location at ~/Documents/FacebookSDK.
- Follow the [getting started guide](https://developers.facebook.com/docs/ios/getting-started/) to link your project with the Facebook SDK frameworks and set up the app delegate.
- Depending on what functionality you're looking to integrate, run any combination of the following:
- `npm install react-native-fbsdkcore` for graph requests, app events, etc.
- `npm install react-native-fbsdkshare` for share buttons, dialogs, etc.
- `npm install react-native-fbsdklogin` for login button and manager.
- Open the Xcode project for your app.
- Drag the XCode projects from `node_modules/react-native-sdk...` into your XCode project navigator.
- Download and install the [Facebook SDK for iOS](https://developers.facebook.com/docs/ios). The Xcode projects assume that it's installed in the standard location at `~/Documents/FacebookSDK`.
- Follow the [getting started guide](https://developers.facebook.com/docs/ios/getting-started/) to link your app's project with the Facebook SDK frameworks and set up the app delegate.
- Depending on what functionality you're looking to integrate, install any of the following packages as npm dependencies:
- `react-native-fbsdkcore` for graph requests, app events, etc.
- `react-native-fbsdkshare` for share buttons, dialogs, etc.
- `react-native-fbsdklogin` for login button and manager.
- Add the `RCTFBSDK...` Xcode projects from `node_modules/react-native-sdk...` to your app's Xcode project.

### Troubleshooting
- If you get a build error stating that one of the Facebook SDK files was not found -- eg. `FBSDKCoreKit/FBSDKCoreKit.h` -- check two things\:
Expand Down
9 changes: 4 additions & 5 deletions react-native-fbsdkcore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,10 @@ FBSDKAppEvents.logPurchase(15, 'USD', null, null)
A sample app is available from the [GitHub repository](https://github.com/facebook/react-native-fbsdk) for React Native FBSDK.

## Installation
- Download and install the [Facebook SDK for iOS](https://developers.facebook.com/docs/ios).
- Follow the [getting started guide](https://developers.facebook.com/docs/ios/getting-started/) to link your project with the Facebook SDK frameworks and set up the app delegate. `FBSDKCoreKit.framework` must be added to the project.
- run `npm install react-native-fbsdkcore`
- Open the Xcode project for your app.
- From Finder, drag the 'react-native-fbsdkcore' folder from node_modules into the XCode project navigator.
- Download and install the [Facebook SDK for iOS](https://developers.facebook.com/docs/ios). The Xcode project assumes that it's installed in the standard location at `~/Documents/FacebookSDK`.
- Follow the [getting started guide](https://developers.facebook.com/docs/ios/getting-started/) to link your project with the Facebook SDK frameworks and set up the app delegate. `FBSDKCoreKit.framework` must be added to your app's Xcode project.
- Add the `react-native-fbsdkcore` package to your app's dependencies in `package.json` and run `npm install`.
- Add `RCTFBSDKCore.xcodeproj` from `node_modules/react-native-fbsdkcore` to your Xcode project navigator.

## License
See the LICENSE file.
Expand Down
9 changes: 4 additions & 5 deletions react-native-fbsdklogin/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# react-native-fbsdkcore
# react-native-fbsdklogin
A wrapper around the functionality from FBSDKLoginKit in the iOS Facebook SDK, supporting the login button and login manager.

## Usage
Expand Down Expand Up @@ -67,10 +67,9 @@ A sample app is available from the [GitHub repository](https://github.com/facebo

## Installation
- Download and install the [Facebook SDK for iOS](https://developers.facebook.com/docs/ios).
- Follow the [getting started guide](https://developers.facebook.com/docs/ios/getting-started/) to link your project with the Facebook SDK frameworks and set up the app delegate. `FBSDKCoreKit.framework` and `FBSDKLoginKit.framework` must be added to the project.
- run `npm install react-native-fbsdklogin`.
- Open the Xcode project for your app.
- From Finder, drag the 'react-native-fbsdklogin' folder from node_modules into the XCode project navigator.
- Follow the [getting started guide](https://developers.facebook.com/docs/ios/getting-started/) to link your project with the Facebook SDK frameworks and set up the app delegate. `FBSDKCoreKit.framework` and `FBSDKLoginKit.framework` must be added to your app's Xcode project.
- Add the `react-native-fbsdklogin` package to your app's dependencies in `package.json` and run `npm install`.
- Add `RCTFBSDKLogin.xcodeproj` from `node_modules/react-native-fbsdklogin` to your Xcode project navigator.

## License
See the LICENSE file.
Expand Down
9 changes: 4 additions & 5 deletions react-native-fbsdkshare/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# react-native-fbsdkcore
# react-native-fbsdkshare
A wrapper around the functionality from FBSDKShareKit in the iOS Facebook SDK, supporting the share button, share dialogs, etc.

## Usage
Expand Down Expand Up @@ -64,10 +64,9 @@ A sample app is available from the [GitHub repository](https://github.com/facebo

## Installation
- Download and install the [Facebook SDK for iOS](https://developers.facebook.com/docs/ios).
- Follow the [getting started guide](https://developers.facebook.com/docs/ios/getting-started/) to link your project with the Facebook SDK frameworks and set up the app delegate. `FBSDKCoreKit.framework` and `FBSDKShareKit.framework` must be added to the project.
- run `npm install react-native-fbsdkshare`
- Open the Xcode project for your app.
- From Finder, drag the 'react-native-fbsdkshare' folder from node_modules into the XCode project navigator.
- Follow the [getting started guide](https://developers.facebook.com/docs/ios/getting-started/) to link your app's project with the Facebook SDK frameworks and set up the app delegate. `FBSDKCoreKit.framework` and `FBSDKShareKit.framework` must be added to your app's Xcode project.
- Add the `react-native-fbsdkcore` package to your app's dependencies in `package.json` and run `npm install`.
- Add `RCTFBSDKShare.xcodeproj` from `node_modules/react-native-fbsdkshare` to your Xcode project navigator.

## License
See the LICENSE file.
Expand Down

0 comments on commit cc80925

Please sign in to comment.