BB is not providing support for fb sdk, Not for some time as informed by sean @ support, I wonder if there is some way to integrate it with exported code.? Has anyone done something like this yet?
Hi manak4u, I have done that in Xcode. Just look for a tutorial for the right sdk you need and go from there. A bit of a brain teaser at first but it worked out well at the end. Biggest problem is that when you make an update you'll have to do that all over again. Has anyone found a solution for this?
I followed Facebook's Own SDK Documentation and it worked. just few lines of code and an entry in .plist https://developers.facebook.com/docs/ios/getting-started/
hI @rizwanashraf I couldn't find how to open that .plist (Open as source code) Could you help on this and tell me how you opened this file ? Text Edit thx
What you have to do Go to the folder of your Xcode Project, The folder where your Xcode Project is located and there you will see a File similar to PTPlayer-YourGameName.Plist and you open it in a text editor, What i use is Sublime Text Editor which is pretty solid but you can use any. Then add the Code Facebook gives you under <dict> </dict>
Hi @rizwanashraf i couldn't find the answer ... I imported the FBSDKCoreKit.Framework, FBSDKLoginKit.Framework, FBSDKShareKit.Framework i open .plist with Sublime Text 3 and insert fb code here : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <dict> <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLSchemes</key> <array> <string>xxxxxxxxx</string> </array> </dict> </array> <key>FacebookAppID</key> <string>xxxxxxxx</string> <key>FacebookDisplayName</key> <string>XXXXXXXX</string> </dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleDisplayName</key> ........... Save is that correct ? i did had <dict> fb code </dict> and i get this error when i test/run the game error: couldn't parse contents of '/Users/..../Documents/.../PTPlayer-Info.plist': The data couldn’t be read because it isn’t in the correct format. is it when i save with Sublime text 3 ? Also i can't find the AppDelegate.m in my project to Track App Installs and App Opens App Events let you measure installs on your mobile app ads, create high value audiences for targeting, and view analytics including user demographics. To log an app activation event, first, import the Facebook SDK in your AppDelegate.m file: #import <FBSDKCoreKit/FBSDKCoreKit.h> thanx for your help VK
Did you backup your pList file ? because you messed it up. you need to add these lines under <dict> </dict> you can download facebook sample xcode project i am sure they have it and you will see where you need to add these lines. AppController.m is actually your AppDelegate.m