Facebook authorization fails on iOS6 when switching FB account on device

Another answer gives a way to manually resync the device with the server. I defined a method called fbRsync to call this code. Make sure to #import <Accounts/Accounts.h> in your implementation file and then define this method: -(void)fbResync { ACAccountStore *accountStore; ACAccountType *accountTypeFB; if ((accountStore = [[ACAccountStore alloc] init]) && (accountTypeFB = [accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook] ) … Read more

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

This isn’t currently (June 2012) possible because of a bug in the API: https://developers.facebook.com/bugs/206254392780441 has the details. One workaround is to post to the /feed connection of the page and attach an image to the feed story. That image won’t be displayed as large as a proper photo upload, but should work OK. That bug … Read more

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

This problem happens because of the Facebook SDK for iOS. Application Loader forbids the use of the variable “id” from any FBGraphUser related class (maybe others variables too, didn’t test) – e.g. : id<FBGraphUser> friend id<FBGraphUserExtraFields>user Facebook is informed about this problem as of january 2013 : Bug Report The workaround for the moment is … Read more

Facebook SDK 3.1 – Error validating access token

The Facebook account on the device has become out-of-sync with the server as well as with the App’s/SDK’s cache. This can be solved by calling the ACAccountStore method renewCredentialsForAccount, which will update the OS’s understanding of the token state. In the next update of the SDK, the SDK will automatically call this API when it … Read more