New Facebook IOS SDK? Can we use the old sdk with the new sdk? - iphone

I am currently adding new Facebook iOS sdk 3.1.1 to my iPhone application. I saw the sdk have significant changes. E.g. My old sdk create a Facebook object and call the requestGraphPath:AndDelegate from the FBRequest object. Now the new sdk have no header file "Facebook.h" and "FBRequest" have no requestGraphPath:AndDelegate but it has a same method name with a handler... and have extra function as well.
Does that mean I have to recoding all the Facebook stuff of my application to accommodate the new Facebook SDK

Yes, you would need to change your code. The latest facebook SDK has iOS 6 integration and lots of other features. Read about it here: https://developers.facebook.com/docs/howtos/ios-6/
Basically in the latest SDK, everything is managed via the FBSession.
This SDK is backwards compatible meaning, even if the users have not upgraded to iOS 6, this will work in iOS 5.

Related

How to integrate Facebook sdk in titanium for ios and Android?

Hi am working on an app Using Appcelerator Titanium, in which i have to integrate Facebook sdk. i am so confused on using which sdk have to use .. whether choose the ios or android or javascript sdk. Another query is , whether if have to create a separate project for ios and Android. or a single project is enough. Thanks in advance
You can either check the Facebook support shipped with Titanium SDK: http://docs.appcelerator.com/platform/latest/#!/api/Modules.Facebook
Or you can check out this module on github: https://github.com/appcelerator-modules/ti.facebook

Which FB SDK version should I use with iOS 5?

My project uses iOS 5.1 + Xcode 4.5 in this version. All I really want to do right now is to read a wall w posts from Facebook (see below link). And I will not be using iOS 6 for now.
Before beginning with Facebook SDK I need to know a couple of things;
Which version of FB SDK should I use together with iOS 5.1?
Does the latest FB SDK "downgrade gracefully" when used with iOS
5.1?
Any good examples of the basics to get started to read FB content? (Exept the FB Dev examples)
See also: Just want to read a Facebook wall, do I need to install FB SDK?
use facebook sdk 3.1 or > 3.1. Because FBconnect is not working in latest build (ios5 or above)
try this FB here

Minimum iOS deployment target with Facebook SDK 3.2?

I wish to use Facebook sdk version 3.2 in my iOS application but I couldn't find the minimum target iOS that it will support.
Any help is appreciated.
From the SDK Page:
iOS 6 integration
The Facebook SDK for iOS offers full, native integration with iOS 6. For Login and Feed posting, this means you have the ability to pop-up a native dialog box rather than fast-app-switching to the Facebook iOS App or Mobile Safari. This experience is less disruptive for the user and significantly increases conversion. Just enable Login with Facebook and the SDK will ensure your apps work seamlessly on all iOS versions 4.0 and later.

Can I use the JavaScript facebook SDK for phonegap apps?

I am not sure whether my question is appropriate or not.
I am integrating facebook for the first time and also for the for first my app is multi-platform.
I am integrating facebook in my app for iphone and android.My question are below:
1)If i am doing it with plugin i have to do it separately for both iPhone and Android. Is there any way to integrate Facebook for both in a single effort for eg by using Javascript SDK
2)If yes what it is? and if possible any sample.
Thanks in advance
You should use phonegap-plugin-facebook-connect. It works on both iOS and Android and integrates great with iOS6 bulid in Facebook functionality.
The plugin provides a patched version of the Facebook JS API.

How to implement chat in an app which uses facebook-ios-sdk

I am developing an iphone app which uses facebook-ios-sdk. For chating i used quickblox sdk. But it results a mac-o-linker error. Is there any other sdk fot chat ?
I have one idea why you have this error: QuickBlox iOS SDK & Facebook SDK - both of them use SBJSON lib. Solution - try to delete SBJSON from your project(from Facebook SDK src) (also remove all #import constructions, that use SBJSON) and try build your project.
Hope this topic helps to resolve this issue http://community.quickblox.com/quickblox/topics/json_functions_not_available
Also, please look at this project src https://github.com/QuickBlox/ChattAR-ios - project featuring Facebook API, Location, Chat and Augmented Reality view. It uses QuickBlox SDK & FB sdk. And both of them work well.