Skip to main content

Questions tagged [facebook-ios-sdk]

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

facebook-ios-sdk
372 votes
8 answers
254k views

Facebook Graph API v2.0+ - /me/friends returns empty, or only friends who also use my application

I am trying to get my friend name and ids with Graph API v2.0, but data returns empty: { "data": [ ] } When I was using v1.0, everything was OK with the following request: FBRequest* ...
Kaslico's user avatar
  • 3,768
105 votes
6 answers
44k views

How to use Facebook iOS SDK on iOS 10

I am trying to use Xcode 8 to build a app with Facebook login using Swift 3. When I switch back iOS Simulator 9.3, it works. In iOS 10, I receive this error: ""fbauth2:/" The operation ...
trquoccuong's user avatar
  • 2,873
100 votes
7 answers
85k views

Native iOS app: What do I put in Facebook's developer "iPhone App Store ID" under Settings, Basic?

I'm about finished with a native iPhone app, but I need to finish SSO via Facebook. Despite my best effort, I am unable to figure-out what value is supposed to go in the "iPhone App Store ID" field ...
Greg M. Krsak's user avatar
92 votes
2 answers
4k views

IOS Facebook SDK - Post Open Graph and show on Timeline without clicking Activity Log

From the Facebook SDK sample code, when successfully posting the open graph object to the timeline, you have to click Show on Timeline in the Activity Log on the Facebook website. How to ignore these ...
isaacselement's user avatar
64 votes
24 answers
66k views

No such module 'RestKit' with cocoapods and swift

I am having this problem with a brand new project. This problem happens with both RestKit and Facebook SDK. Strangely SwiftyJSON works just fine. I create a brand new swift project and a Podfile with:...
Joped's user avatar
  • 1,108
47 votes
17 answers
59k views

How to make Xcode find file FacebookSDK.h?

It says "FacebookSDK/FacebookSDK.h file not found" Yet I can jump-to-definition on the #import and it takes me to the file. And once I added the #import it now knows what FBFriendPickerDelegate is ...
Curtis's user avatar
  • 2,525
45 votes
8 answers
41k views

[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's user avatar
  • 879
43 votes
8 answers
18k views

The app references non-public selector in id (Facebook SDK iOS)

I was having this warning when submitting my app with Application Loader. The app references non-public selector in MyApp : id This warning can potentially reject my app from Apple AppStore's ...
Kalzem's user avatar
  • 7,414
42 votes
16 answers
37k views

Facebook iOS8 SDK build module error for FBSDKCoreKit

I am trying to add the Facebook SDK to my iOS 8 Objective-C app in Xcode. I did the install according to the FB-dev instructions. However, I get a "Could not build module 'FBSDKCoreKit'" error when I ...
star7anne's user avatar
  • 531
39 votes
5 answers
31k views

Facebook SDK 4.0 IOS Swift Log a user out programmatically

In some cases in my application i need to log the user out, but i only have the FBSDKLoginButton instance in my view controller and implementing the FBSDKLoginButtonDelegate using func loginButton(...
Mina Kolta's user avatar
  • 1,551
38 votes
9 answers
45k views

Facebook share content only shares URL in iOS 9

Share FBSDKShareLinkContent with FBSDKShareDialog works fine in iOS 8 but fails to share imageURL, contentTitle, contentDescription on iOS 9 devices. The app is built with iOS 9 SDK, Xcode 7, ...
Yevhen Dubinin's user avatar
38 votes
3 answers
27k views

ASP.NET Web API and Identity with Facebook login

In the Facebook authentication flow for ASP.NET Identity, the Facebook OAuth dialog appends a code rather than an access token to the redirect_url so that the server can exchange this code for an ...
Obi's user avatar
  • 3,091
37 votes
7 answers
27k views

Facebook SDK 3.1 - Error validating access token

I'm trying to transition my app to the new Facebook SDK 3.1 (with support for iOS6 authentication). I had it working just fine, so I then decided to remove the app from my list of authorized apps on ...
tarmes's user avatar
  • 15.4k
37 votes
9 answers
29k views

iOS 9 Facebook login simulator -canOpenURL: failed for URL: "fbauth2:///" - error: "(null)"

I've updated to Xcode 7 and the latest iOS SDK. I've added the appropriate entries in my app's plist: My app's Facebook login works fine on device. However, on iOS 9 simulator, I'm getting: -...
Can Poyrazoğlu's user avatar
34 votes
17 answers
35k views

How to customize FBLoginVIew?

In order to connect to facebook in my ios app i'm using FBLoginVIew from Facebook SDK for iOS. It shows a nice FB Login Button, but I want to use my own image and text for the login button. The ...
ozba's user avatar
  • 6,653

15 30 50 per page
1
2 3 4 5
120