|
1 | | -[](https://cocoapods.org/pods/Rudder-Facebook) |
2 | | -[](https://cocoapods.org/pods/Rudder-Facebook) |
3 | | - |
4 | 1 | # What is Rudder? |
5 | 2 |
|
6 | | -**Short answer:** |
| 3 | +**Short answer:** |
7 | 4 | Rudder is an open-source Segment alternative written in Go, built for the enterprise. . |
8 | 5 |
|
9 | | -**Long answer:** |
| 6 | +**Long answer:** |
10 | 7 | Rudder is a platform for collecting, storing and routing customer event data to dozens of tools. Rudder is open-source, can run in your cloud environment (AWS, GCP, Azure or even your data-centre) and provides a powerful transformation framework to process your event data on the fly. |
11 | 8 |
|
12 | 9 | Released under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) |
13 | 10 |
|
14 | | -## Getting Started with Facebook App Events Integration of Android SDK |
15 | | -1. Add [Facebook App Events](https://developers.facebook.com/docs/app-events/) as a destination in the [Dashboard](https://app.rudderlabs.com/) and define ```apiKey``` with your Facebook Application ID. |
16 | | - |
17 | | -2. Follow [these](https://developers.facebook.com/docs/app-events/getting-started-app-events-ios/) instructions and setup your facebook app events application. |
| 11 | +## Getting Started with Facebook Integration of Android SDK |
| 12 | +1. Add [Facebook](http://Facebook.google.com) as a destination in the [Dashboard](https://app.rudderstack.com/). |
18 | 13 |
|
19 | | -3. Rudder-Facebook is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your Podfile: |
| 14 | +2. Rudder-Facebook is available through [CocoaPods](https://cocoapods.org). To install it, add the following line to your Podfile and followed by `pod install`: |
20 | 15 |
|
21 | 16 | ```ruby |
22 | 17 | pod 'Rudder-Facebook' |
23 | 18 | ``` |
24 | 19 |
|
| 20 | +3. Download the `GoogleService-Info.plist` from your Facebook console and put it in your Project. |
| 21 | + |
25 | 22 | ## Initialize ```RudderClient``` |
26 | 23 | Put this code in your ```AppDelegate.m``` file under the method ```didFinishLaunchingWithOptions``` |
27 | 24 | ``` |
28 | | -RudderConfigBuilder *builder = [[RudderConfigBuilder alloc] init]; |
29 | | -[builder withEndPointUrl:YOUR_DATA_PLANE_URL]; |
| 25 | +RSConfigBuilder *builder = [[RSConfigBuilder alloc] init]; |
| 26 | +[builder withDataPlaneUrl:DATA_PLANE_URL]; |
30 | 27 | [builder withFactory:[RudderFacebookFactory instance]]; |
31 | | -[RudderClient getInstance:YOUR_WRITE_KEY config:[builder build]]; |
| 28 | +[builder withLoglevel:RSLogLevelDebug]; |
| 29 | +[RSClient getInstance:WRITE_KEY config:[builder build]]; |
32 | 30 | ``` |
33 | 31 |
|
34 | 32 | ## Send Events |
35 | 33 | Follow the steps from [Rudder iOS SDK](https://github.com/rudderlabs/rudder-sdk-ios) |
36 | 34 |
|
37 | | -# Coming Soon |
38 | | -1. Native platform SDK integration support |
39 | | -2. More documentation |
40 | | -3. More destination support |
| 35 | +## Contact Us |
| 36 | +If you come across any issues while configuring or using RudderStack, please feel free to [contact us](https://rudderstack.com/contact/) or start a conversation on our [Discord](https://discordapp.com/invite/xNEdEGw) channel. We will be happy to help you. |
0 commit comments