Questions tagged [facebook-ios-sdk]

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

Facebook SDK 4.x for iOS.

1778 questions
11
votes
5 answers

Opening FBSession in consecutive launches (FB SDK for SDK 3.0)

I am trying to integrate the new Facebook SDK for iOS and had a problem understanding some concepts. I authenticate using [FBSession sessionOpenWithPermissions:...] auth dialog comes up and I return the app. Auth successful. Then shut down the app,…
ahmet alp balkan
  • 42,679
  • 38
  • 138
  • 214
10
votes
1 answer

Same FB App, multiple iOS Bundle IDs, with different suffixes?

I have two versions of my iPhone app, one is for the appstore and the other an ad-hoc version for internal testing. They have: - Same FB App ID for both (they both communicate with same backend) - Two different bundle IDs (so they can both be…
elado
  • 8,510
  • 9
  • 51
  • 60
10
votes
3 answers

issue using FBSDK in swift iOS application

I am coding an iOS 8 app in swift using the FBSDK to allow users to log in to my app. So far I have successfully implemented the login feature using the FBSDK v3.25 in swift using a Bridging-Header.h file and updating the info.plist accordingly to…
Danoram
  • 8,132
  • 12
  • 51
  • 71
10
votes
3 answers

Facebook App Invites iOS SDK v4.0 configuration and states

I have recently started to implement the new Facebook's App Invites feature. The invite is sent, but my friends (or app testers in my case) whom I sent app invites to did not receive any notification. == Update: I have successfully tested out the…
Vinh Nguyen
  • 816
  • 1
  • 13
  • 27
10
votes
2 answers

Facebook iOS SDK and iOS6

I'm currently trying to use the Facebook SDK official pod in its 3.14.1 version (also tried 3.9, same result) but I stumble upon an issue. Here is my code: self->_session = [[FBSession alloc] initWithAppID:[[self class] facebookAppId] …
dvkch
  • 1,079
  • 1
  • 12
  • 20
10
votes
1 answer

UIActivityViewController when have no Facebook account in settings

I'm using UIActivityViewController, I want to show Facebook option even if the user has not defined a Facebook account in device settings. In my code, Facebook option not shown when there is no Facebook acoount in settings. UIActivityViewController…
zeevblu
  • 1,059
  • 2
  • 11
  • 26
10
votes
2 answers

FaceBook SDK3.5 closeAndClearTokenInformation calls completion handler of openActiveSessionWithReadPermissions

I have the following code that I use during facebook login. - (BOOL)openFBSessionWithAllowLoginUI:(BOOL)allowLoginUI withCompletionHandler:(void (^)())completionHandler { NSArray *permissions = [NSArray arrayWithObjects: …
Shirish Kumar
  • 1,532
  • 17
  • 23
10
votes
2 answers

Facebook native ios login error with test user

I'm getting the following error when attempting to use the ios6 native facebook login The Facebook server could not fulfill this access request: Temporarily unable to make API calls on behalf of XYZ The login works fine if I remove the ios facebook…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
10
votes
2 answers

Facebook iOS SDK won't open login UI after user changes password (iOS 6)

Some context: the user had previously installed the app, authorized FB, everything worked great, then they changed their FB password (through facebook.com), deleted the app, and have now reinstalled it and are running it for the first time again…
Arthur N
  • 412
  • 4
  • 10
10
votes
2 answers

How to post a photo. iOS Facebook SDK 3.1

I needed to publish a picture on my wall. The pic is generated in my iPad app.
Fede Cugliandolo
  • 1,686
  • 15
  • 24
10
votes
3 answers

Facebook SDK 3.1 iOS: Handle login if user remove app from Facebook Settings

I want to put some Facebook integration in my app. At this point I've managed to login, post to friends wall, retrieve the list of friends, etc. Everything is OK except for one thing... If the user removes the app from your Facebook settings /…
Axort
  • 2,034
  • 2
  • 23
  • 24
9
votes
2 answers

How to retrieve Facebook response using Facebook iOS SDK

I am using the Facebook iOS SDK for iPhone. I initialize the Facebook instance facebook = [[Facebook alloc] initWithAppId:kAppId]; And then I do login: [facebook authorize:permissions delegate:self]; After I logged in to Facebook I am doing the…
Yogesh
  • 1,333
  • 3
  • 16
  • 35
9
votes
2 answers

Facebook SDK Login - Application Unavailable: The application you're trying to use is either no longer available or access is restricted

A user tried to login to my app using Facebook login and they encountered the following error after being redirected to their native Facebook app: "Application Unavailable: The application you're trying to use is either no longer available or access…
Franck Mamboue
  • 176
  • 1
  • 2
  • 8
9
votes
1 answer

Facebook iOS SDK gives "is not a dylib" warning

After the last update of xcode 7.3 i am having ld: warning: Auto-Linking supplied `'/Users/utkudalmaz/Developer/Frameworks/FacebookSDK/Bolts.framework/Bolts', framework linker option at…
Utku Dalmaz
  • 9,780
  • 28
  • 90
  • 130
9
votes
1 answer

FBSDKSharePhoto not sharing link alongside photo using Swift

When I try to share a link along with a picture, at the same time, via FBSDKSharePhoto, only the photo gets shared. No link appears. Here is the code I use: let photo : FBSDKSharePhoto = FBSDKSharePhoto() photo.image =…
Andrew
  • 959
  • 14
  • 31