About Me

My photo
Drum & Bass Producer, Software Developer, Love my Cats

iOS tutorial: How to implement facebook ads counting


* This tutorial guesses you already have the api key to the app ad

1. Download and link the FacebookSDK.framework to your project
2. In the project's build phase, add these frameworks: AdSupport, Social, Accounts
3. Change the above link dependency to "optional" (aka 'weak')
4. In your app delegate, import
5. And again in the app delegate, in the method 'applicationDidBecomeActive' add this api call to facebook: [FBSettings publishInstall:@"YOUR_API_KEY"];

Good luck!