Questions tagged [facebook-ios-sdk-4.0]

Facebook's SDK 4.x for developing Facebook-connected applications for iOS devices

16 questions
45
votes
8 answers

[Facebook-iOS-SDK 4.0]How to get user email address from FBSDKProfile

I'm upgrading my app to Facebook-iOS-SDK-4.0, but seems like I can't get user email from FBSDKProfile, since it only provide, username, userid, etc.
imcc
  • 879
  • 2
  • 10
  • 15
7
votes
0 answers

User Properties has been deprecated in Facebook Analytics

We are trying to integrate Facebook analytics into our apps and we notice that user properties has been deprecated on 22 Jun 2020. But doc doesn't not say anything about the alternative way. Is there any means to add new user properties like this in…
7
votes
1 answer

swift 3 facebook sdk get friends list

I need to get all my friends list: I found this code: var fbRequestFriends: FBSDKGraphRequest = FBSDKGraphRequest(graphPath: "/{friend-list-id}", parameters: [AnyHashable : Any]()) fbRequestFriends.start { (connection, result, error) in if…
4
votes
4 answers

Xcode 9 _OBJC_CLASS_$_FBSDKApplicationDelegate

I'm trying to implement Facebook SDK into my project and I get the same issue Facebook sdk is not a dylib error after update update Xcode 7? Well, I have Bolts in my Frameworks Directory, also In my Build Settings: Frameworks Search Path:…
Benjamin RD
  • 11,516
  • 14
  • 87
  • 157
3
votes
6 answers

No such module 'FBAudienceNetwork' in XCode 9 Swift 4

I installed the FBAudienceNetwork (version 4.26.0) with CocoaPods (version 1.3.1). I followed the official manual as published at https://developers.facebook.com/docs/audience-network/ios, but the Xcode still not recognized the framework. Just to be…
2
votes
0 answers

Facebook SDK not supported by compiler error (iOS / Xcode)?

I am trying to install the Facebook SDK for making Instagram ads but when importing the SDK "import FBSDKCoreKit" I get the following error below. Failed to build module 'FBSDKCoreKit'; this SDK is not supported by the compiler (the SDK is built…
Jake Smith
  • 580
  • 3
  • 11
2
votes
0 answers

Updating FBSDKGraphRequest GET for iOS

I am updating the FBSDKGraphRequest and the API Upgrade Tool says I have 2 calls to update. I have updated the SDK to current version (4.31.1) and it says the current Graph API I am using is v.2.11 so I updated that in my app settings on the…
AppDever
  • 687
  • 1
  • 7
  • 17
2
votes
1 answer

FBSDKLikeControl with iOS10 does not works

I want to use a FBSDKLikeControl button in my app. Thats works on iOS11 but with iOS10 Safari disappear 1 sec after... and back in my app. Do you know Why? Thanks
1
vote
1 answer

Did FBSDKShareKit replace FBSDKMessengerShareKit?

I'm a newbie at Objective-C and iOS stuff, not to mention the Facebook iOS SDK, so I had a hard time researching what is going on with the difference between FBSDKMessengerShareKit and FBSDKShareKit. However, the CocoaPods guide says…
Bryan Miller
  • 3,262
  • 4
  • 27
  • 51
1
vote
0 answers

Tagging pages in facebook sharing - iOS Facebook SDK

I'm working with Facebook sharing in my iOS app. I have tried searching the possibilities for tagging pages but found none. Is it possible to tag pages in Facebook sharing? Sample Facebook pages that I'm trying to tag via Facebook…
Ashok
  • 5,585
  • 5
  • 52
  • 80
1
vote
1 answer

'quote' is missing while sharing via Facebook Native app - iOS Facebook SDK

I'm working with Facebook sharing in my iOS app. 'quote' is missing while sharing via Facebook Native app, check the following screenshot: But it is working fine when FBSDKShareDialogMode is feedBrowser. check the following screenshot: What might…
Ashok
  • 5,585
  • 5
  • 52
  • 80
1
vote
0 answers

facebook sdk 4.17 iOS sending gift with FBSDKGameRequestContent

Hi I am using Facebook sdk 4.17 in my iOS app. I am trying to send a gift with FBSDKGameRequestContent and I get 2 different errors with 2 different gifts while I am sending from the same code: FBSDKGameRequestContent *gameRequestContent =…
0
votes
1 answer

Facebook iOS access_token authentication on NodeJS

I have an iOS application that allows users to login with Facebook (via the Facebook Swift SDK). This returns the an access token for the user, which is specific to that app. The user's facebook access token is passed to my NodeJS API where its…
0
votes
1 answer

Facebook App Invites Swift No Notfications

Im trying to invite users to my app using facebook. The facebook invite content is displayed correctly by calling FBSDKAppInviteContent(). The problem is when i select a friend, they dont receive a notification(on facebook) or a push notification.…
Zolve
  • 514
  • 5
  • 13
0
votes
1 answer

Facebook iOS/Android SDK share link on friend's feed

I'm working on a game that runs on iOS, Android and Web. On the Web client I can set up a feed dialog that let's a user post on a friend's timeline: That's achieved by using this code: var params = { name: name, link: link, picture:…
1
2