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
13 votes
2 answers
6k views

iOS :How to get Facebook Album Photo's Picker

Is Facebook iOS SDK provide any default (Facebook) album Photo's picker like UIImagePickerController does? I heard of this so searched for it from long but couldn't find anything. Please let me ...
Hemang's user avatar
  • 27k
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
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
24 votes
6 answers
33k views

Facebook authorization fails on iOS6 when switching FB account on device

I'm using die Facebook SDK 3.1.1 to implement FB Connect in my iOS application. This works fine in the simple case with either the new FB integration (logged in on iOS) or falling back to the normal ...
Kathrin Holweger's user avatar
22 votes
5 answers
27k views

Like button in iOS application

Does anybody know how to place Facebook "like" button into iOS application? I've tried the method described in this blog post. But I do not really like this method, because its ugly Login dialog. And, ...
iKiR's user avatar
  • 860
9 votes
2 answers
8k views

presentRequestsDialogModallyWithSession does not work, but gives good result

When I use the webdialog for a friendrequest, everything is going fine, except no request or anything is made. The code: NSMutableDictionary *params = [NSMutableDictionary ...
Ruud Visser's user avatar
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
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
17 votes
6 answers
10k views

First dialog after authenticating fails immediately and closes dialog

I'm using the latest Facebook SDK on iOS 5. I can use SSO to successfully authenticate the user, and then I attempt to share a link like this: NSString *appId = [[[NSBundle mainBundle] infoDictionary]...
Senior's user avatar
  • 2,259
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
26 votes
11 answers
24k views

FBSDKLoginManager logInWithPublishPermissions always returns isCancelled=YES

I am having trouble figuring out how to log a user into my app. [FBSDKAccessToken currentAccessToken] is nil, so I am calling: [[[FBSDKLoginManager alloc] init] logInWithPublishPermissions:@[@"...
devios1's user avatar
  • 37.6k
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
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

15 30 50 per page
1
2 3 4 5
17