Facebook and Stack Exchange are now working together to support the Facebook developer community. Facebook engineers participate here along with the best Facebook developers in the world. If you have a technical question about Facebook, this is the best place to ask.

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

learn more… | top users | synonyms

22
votes
6answers
11k 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 ...
14
votes
4answers
6k views

Posting Photo to facebook fan page via iOS app by regular non-admin users

I am trying to post a photo to my apps facebook fan page and to the users wall also. I have been successful to post the photo on the users wall, but failed to post it in the fan pages wall. (The user ...
17
votes
6answers
6k 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] ...
17
votes
4answers
10k 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 ...
18
votes
2answers
3k views

“apprequests” dialog reports success, recipients receive nothing

Using the Facebook iOS SDK I can display a dialog with apprequests and send it. Delegate method -dialogDidComplete: gets called, but the recipient(s) receive no notification or request of any kind. If ...
8
votes
1answer
6k views

Handle invalid accessToken with FBSession openActiveSessionWithReadPermissions in Facebook iOS 3.1.1 SDK

Before anything, I have read both this and this questions to solve the problem below and before asking. My problem is that when the accessToken gets expired (either because the expiration date ...
4
votes
1answer
618 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 ...
3
votes
3answers
4k views

Error when using [FBSession openActiveSessionWithPublishPermissions: ..]

I'm updating an app to use the latest Facebook SDK in order to gain access to the iOS6 native Facebook support. It currently uses a pretty old version of the Facebook SDK. The app requires the ...
3
votes
2answers
4k views

Choosing 'Not Now' when accepting app causes “com.facebook.sdk error2”

Using Facebook iOS SDK 3.1. When choosing not to allow a 'Connect' to a Facebook app, I'm stuck with Facebook throwing "com.facebook.sdk error2." errors at me, even after re-installing my app. Steps ...
3
votes
1answer
1k views

Facebook iOS SDK: Cannot specify an album using FBRequest's requestForUploadPhoto:

I have a local photo in my iPhone app, and I want to upload it to a specific album on Facebook dedicated to my app. Problem: My app name ends with the word 'Photos', so the default Facebook album is ...
2
votes
1answer
3k views

How to send add friend request (to facebook user) from iOS application?

I know there are lot of questions on this topic but none of those have satisfactory answers. Again I am not so confident about help as 2 of my last 3 questions are unanswered. Well Still, ma question ...
16
votes
5answers
11k views

Facebook iOS SDK 3.1 with XCode 4.2 linker errors

I've just updated the Facebook iOS SDK in my project from 3.0 to 3.1. The project does not compile anymore. Instead I get the following linker errors: Undefined symbols for architecture i386: ...
5
votes
3answers
3k 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 ...
7
votes
4answers
4k views

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 ...
20
votes
4answers
10k views

com.facebook.sdk error 2 on iOS

I have a Phonegap app that runs on both iOS and Android. The app has a Facebook login feature which worked until a few days ago. A few of our beta testers have reported an 'The operation couldn't be ...

1 2 3 4 5
15 30 50 per page