Questions tagged [facebook-ios-sdk]

Facebook's SDK for developing Facebook-connected applications for iOS devices

Facebook SDK 4.x for iOS.

1778 questions
7
votes
1 answer

'Open this page in "null"' Modal appearing from FacebookSDK login after iOS9 and Swift 2 upgrade

I'm in the process of updating projects to Swift 2 and iOS 9. One of the projects I'm doing relies heavily on Facebooks SDK. I use it to login, get user information, ect... Prior ot the update, once you logged in the Safari would redirect you…
Unome
  • 6,750
  • 7
  • 45
  • 87
7
votes
1 answer

How to stay logged in with iOS Facebook SDK 2.4

I'm implementing Facebook login in my app using FBSDKLoginManager. Facebook docs seem to imply that this saves the token for subsequent app launches so that the user doesn't have to log in each time: The FBSDKLoginManager sets this token for you…
Emilien H
  • 71
  • 3
7
votes
1 answer

Remove -Objc flag from Cocoapods install

My project won't build if I keep the -Objc flag in other linker flags and I inherit the flag from Cocoapods. I can delete this from Pods.debug.xcconfig and all works, however, every time I run pod update it comes back and I have to delete it…
thattyson
  • 718
  • 8
  • 17
7
votes
3 answers

Facebook iOS SDK 4 error info.plist

I'm using the Facebook-iOS-SDK-4 for a FB login but when I try to compile I have this error. 2015-06-05 03:15:02.001 Hooiz[4681:781254] *** Terminating app due to uncaught exception 'InvalidOperationException', reason: 'fb620223481391648 is not…
Pixel
  • 900
  • 1
  • 13
  • 31
7
votes
1 answer

How do I choose One-to-many when posting a Facebook Open Graph story?

I'm successfully using FBSDKShareOpenGraphObject, FBSDKShareOpenGraphAction, FBSDKShareOpenGraphContent and [FBSDKShareAPI shareWithContent:...] on iOS to create and share a story. The shares item always posts as "Josh Paradroid travelled a metre in…
Josh Paradroid
  • 1,172
  • 18
  • 45
7
votes
1 answer

Facebook: How to separate debug and prod mode events?

I'm using the Facebook SDK to track ads mobile install and followed this tutorial: mobile ads install So far, events in DashBoard / Insight are not separated for debug / prod mode. Do I have to create 2 appIDs to separate the debug and prod events…
james075
  • 1,280
  • 1
  • 12
  • 22
7
votes
1 answer

FBFriendPickerViewController for iOS 7 doesn't work as expected in landscape mode

I am working for Facebook integration in my iPad app. I am using FBFriendPickerViewController for same. My app is working fine on iOS 6 for landscape as well as portrait mode but when I use iOS 7 then friend picker controller works fine ONLY for…
Ameer
  • 705
  • 8
  • 18
7
votes
1 answer

How to handle expired Facebook access tokens on iOS and FB SDK 3.7

I'm using Facebook's iOS SDK 3.7 on my iOS app to handle logins. When I request post permissions it looks like the expiration date is about 2 months from the date of login. I understand I can check the expiration date using [FBSession…
Jiho Kang
  • 2,482
  • 1
  • 28
  • 38
7
votes
1 answer

FB iOS Login - "The app must ask for a basic_info permission at install time."

I have an app in the AppStore with has calls to to openActiveSessionWithReadPermission that look like this: [FBSession openActiveSessionWithReadPermissions:@[@"email"] allowLoginUI:YES …
Kyle Truscott
  • 1,537
  • 1
  • 12
  • 18
7
votes
1 answer

Parse with Facebook Login: Server refused renewal request with error code: 190

I am working on an iOS App that uses Parse and Facebook. For the Facebook login, I am following the guides on this page: https://www.parse.com/tutorials/integrating-facebook-in-ios Following the guide, I have this code that validate the cached…
mkto
  • 4,584
  • 5
  • 41
  • 65
7
votes
1 answer

nil resultURL after successfully posting with FBWebDialogs (Facebook SDK 3.5)

I'm integrating Facebook on my application to share links of websites. I'm using the Feed Dialog to accomplish this and I'm following this tutorial: https://developers.facebook.com/docs/howtos/feed-dialog-using-ios-sdk/. I've managed to login and…
7
votes
1 answer

FBSession.activeSession.isOpen returns NO even though the user logged-in

I implemented the whole iOS Facebook login process in one of my iOS Game. In the app, you can either log-in with an email account or through Facebook. I occasionally present a view inviting the user to sync his account with Facebook if he logged-in…
MartinMoizard
  • 6,600
  • 12
  • 45
  • 75
7
votes
2 answers

Lag when reusing UITableViewCells with FBProfilePictureView

I have an app where I display posts from a user's news feed in a UITableView. I use a FBProfilePictureView to display the profile picture of the person who made the post. It works just fine for pulling down and displaying the profile pic, except…
s73v3r
  • 1,751
  • 2
  • 22
  • 48
7
votes
4 answers

Facebook iOS SDK 3.0, implement like action on a url?

I'm trying to implement Like via the facebook open-graph-api with the Facebook iOS SDK 3.0. Everything seems to work except the FbGraphObject and that's because I have no idea how it should look because this clearly does not work. What I'm trying to…
7
votes
4 answers

IOS FacebooSDK 3.0 FBLoginVIew in modal viewController

I have modal view controller displayed on rightBarButtonItem click. I'm using FbLoginView in this controller as in sample ios-Facebook SDK 3.0 Error 5 When Posting Status Update. But i'm unable to show modal view controller more than one time. I…
Lizard
  • 201
  • 1
  • 3
  • 8