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* friendsRequest = [FBRequest…
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 couldn’t be completed. (OSStatus error…
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 during the process where I register my app with…
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 steps and explicitly share your OG to timeline?
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:
source…
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 and it now doesn't have an error on that line.
I…
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 validation.
My app is using Facebook SDK iOS 3.1.1 (also…
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 add the header to my AppDelegate.m file.
#import…
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(loginButton: FBSDKLoginButton!,…
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, Facebook SDK 4.7.0, all actions mentioned in Preparing…
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 access token via e.g.:…
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:
-canOpenURL: failed for URL: "fbauth2:///" - error:…
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 the FB website in order to test that iOS would ask…
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 problem is that I don't see anywhere how to customize…