How to integrate Facebook in iPad app - objective-c

I am working on an ipad app where i want to integrate facebook in my app. I am using xcode-5.1. I followed the link on this URL : http://developers.facebook.com/docs/mobile/ios/build/ , but getting following errors :
Lexical or Preprocessors Issue
1. FBBatchRequestTests.h
'SenTestingKit/SenTestingKit.h' file now found.
2.Semantic issue
Use of undeclared identifier 'FB_IOS_SDK_VERSION_STRING'
3.FBCAcheTests.h
Lexical or preprocessor Issue
'SenTestingKit/SenTestingKit.h" file not found
4. FBCommonRequestTests.h
Lexical or preprocessor Issue
SenTestingKit/SentestingKit.h file not found
Please help me solve these errors. Also give me some related URLs for integarating facebook in ipad app.

I would suggest tossing out whatever code that you are using to connect to facebook that is in that project and to follow this. It works. I have personally used it

There is a new Facebook SDK 3.0 with samples and tutorials FROM FACEBOOK themselves. Download it from here: http://developers.facebook.com/blog/post/2012/08/07/facebook-sdk-3-0-for-ios/
You'll find the tutorials there too.

Related

Recommended libraries for building an app which includes for deep linking and oauth

I have recently started to build a react-native app, which I want to build for both iOS and Android using a firebase Backend, and Branch.io/Firebase deep-linking services. I want to include in it both OAuth provided by Google and some kind of invitation link by using deep-linking. I have encountered problems in finding a way of supporting both.
It is worth mentioning that I am new to React and javascript, and have no experience in it.
I have tried using react-native-cli and tried to add OAuth to Google using firebase. I couldn't find enough documentation, so I followed a tutorial on youtube, and only managed to make it work by switching to Expo instead of react-native-cli.
Then I tried implementing some kind of invitation to groups in my app, using deep linking. I tried firebase's Dynamic links but got an error that firebase.links() is not a function and couldn't solve it due to lack of docs about it.
I then found out about react-native-branch library. It is in Alpha version in Expo so in order to use the native module I found out that I had to detach from Expo, and I wonder if there's an easier way to do it.
I've spent several days, as expected, in order to try and solve those issues. Is there a relatively simple way to do it?

How can I share a file using react-native and expo on android without detaching?

I'm working on an app with Expo and would like the user be able to share a file (.vcf) with an application of their choice.
On iOS I have this working without issues using the default
Share.share({url: filetoshare})
However, the URL field only works for iOS. I read a suggestion to use
IntentLauncherAndroid.startActivityAsync('android.intent.action.SEND', {URI
: uri});
But this gives me the error:
No Activity Found To Handle Intent
Is there any way that I would be able to share a file without detaching on an android device?
If there is any additional information I could provide to make answering this question easier, please let me know. Thank you!

error: Invalid bitcode version (Producer: '802.0.41.0_0' Reader: '703.0.31_0')

I know this has been asked and answered a lot of time but here is what my issue is. I am trying to integrate Google Sign In into my app, went through their steps and created a demo app and everything works fine. However I have an application which uses Facebook sign in and whenever I try to integrate Google Sign In into that app I get this error.
I am using XCode 7.3.1 (please don't bash me). Following are the questions bugging me from a couple of days.
1 - If this is an issue with XCode being oudated w.r.t the library why does the demo app I created work ? (Since all the answers on SO ask to update the XCode.)
2 - The app in which I want to integrate Google Sign In works fine with FBSDK, so why does XCode give that error when I integrate Google Sign In ?
3 - If both libraries work perfectly in two different projects why is there an issue when I try to integrate them in a single project ?
For the Google Sign In I tried with pods as well as Manual set-up, but the error still occurs. The FBSDK was not installed using pods.

Facebook new share sdks containing non public API usage

With the new Facebook share sdks v4.0.1 - i am getting the no-public selector warning for previewImageURL,suggestions,to.
I changed the name and added fb_... and archiving again but it also showing same.
Any suggestions what i am doing wrong ?
Fixed, Downloaded full sdks code from here - https://github.com/facebook/facebook-ios-sdk
And done changes of variables and build the sdks and using that sdk will solved the issue.

How to solve the conflict in integrating google plus and youtube in iOS

I have got a problem in integrating google plus and youtube in my iOS application.First I have integrated Google plus framework and it worked well.But When I tried to integrate Youtube files with my Xcode project compiler errors came.I think there are some conflicts between libGDataTouchStaticLib.a of Youtube and libGooglePlusUniversal.a of Google Plus.A lot of Errors are coming among them one is below.
uplicate symbol _OBJC_IVAR_$_GTMHTTPFetcher.request_ in:
/Users/admin/Library/Developer/Xcode/DerivedData/GoSayIt_v3- bpbdvhqiblfiafeulvjgqcnzeisq/Build/Intermediates/GoSayIt v3.build/Debug-iphonesimulator/GoSayIt v3.build/Objects-normal/i386/GTMHTTPFetcher.o
/Users/admin/Desktop/backup/goSayit_v.1.0.0/GoSayIt v3/libGDataTouchStaticLib.a(GTMHTTPFetcher.o)
If I remove libGDataTouchStaticLib.a Error occurs in Youtube section and If I remove libGooglePlusUniversal.a Error occurs in Google Plus.What Should I do If I need to Integrate both?Please Help me.Thanks In Advance.