Skip to main content

All Questions

Tagged with
0 votes
0 answers
21 views

Cannot find 'LoginInteractor' in scope

Hello I'm trying to make a connection via facebook in the project I already use a LoginInteractor but when I want to use the class in another file it does not find it. import Foundation import ...
tech's user avatar
  • 1
3 votes
0 answers
99 views

iOS 13.3 Facebook SDK no longer asking to re-authenticate after logout

I haven't updated my app in a few months but now I'm noticing when users logout after signing in with their facebook credentials it is no longer asking for their username and password. It just says "...
Rhys's user avatar
  • 33
2 votes
2 answers
210 views

Swift 4: Navigation Controller unwanted looping

I have the following code: import UIKit import FacebookLogin class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() if AccessToken.current !=...
RC07JNR's user avatar
  • 575
11 votes
2 answers
6k views

facebook graph request using swift 5

I am trying to implement a facebook graph request just as described on their developer´s doc page (https://developers.facebook.com/docs/swift/graph). Xcode 10.2.1, swift 5. But I keep getting the ...
Franz's user avatar
  • 113
3 votes
3 answers
4k views

Failed importing Facebook SDK in Swift 4.x

I've tried to import Facebook SDK for App Events and tracking of App Installs through Facebook ADS and it's being impossible to do it. I've done it with CocoaPods using: pod 'FacebookCore' as the ...
Dani G.'s user avatar
  • 577
1 vote
0 answers
222 views

Can't use FBSDKShareVideo without ENABLE_BITCODE Linker command error

I have the latest Bolts, FBSDKCoreKit, FBSDKLoginKit and FBSDKShareKit as part of the Facebook SDK frameworks which I am using in Swift. In a Swift file, I imported FBSDKCoreKit and FBSDKShareKit. If ...
Chewie The Chorkie's user avatar
0 votes
2 answers
2k views

Swift 4 + Xcode 9 + Could not build Objective-C module 'FBSDKLoginKit'

Getting an error in importing FB SDK files. I used cocoa pods to install FB SDK. I tried to create a FB LogIn Authentication module in the app. Anyone solved the issue. I just visited many stack ...
ANISH S NAIR's user avatar
1 vote
1 answer
602 views

Can't change FBSDKLoginButton position

I'm have the Facebook login button to my app, but when I can't move it from the top left corner to the center of the screen. I tried: loginButton.center = (self.view?.center)! and loginButton....
toiavalle's user avatar
  • 434
14 votes
8 answers
7k views

Facebook Swift SDK: loginManager Type of expression is ambiguous error

I'm using the following code to add a facebook login to a UIButton action: func facebookButtonClicked(sender: UIButton) { let loginManager = LoginManager() loginManager.logIn([.PublicProfile]...
Marcel's user avatar
  • 683
4 votes
1 answer
237 views

Facebook Swift (facebook-sdk-swift) error after adding pod

I did try the new released Facebook SDK for Swift Github, added but after pod 'FacebookCore' But after pod install I get a error, see attached image Are there more steps needed?
Fabian Boulegue's user avatar
0 votes
1 answer
138 views

XCode keeps giving me "fbsdkcorekit/fbsdkcorekit.h not found" even though it's in the project.

I'm trying to implement FBSDK into my project. I already have firebase implemented, but when I try to run my project it keeps saying the framework isn't there. I tried the step that the website gives ...
Kenneth Na's user avatar
2 votes
0 answers
524 views

Facebook Login SDK AppDelegate Error

I have a basic Share function in my App i'm setting up, we're using Xcode 7.2 with Swift 2.1. AppDelete.swift 2016-01-29 09:25:17.576 MyApp[2020:104142] -[FBSDKApplicationDelegate openURL:sender:]: ...
Matt Reid's user avatar
  • 235
0 votes
1 answer
414 views

Swift Facebook login Error "Apple Mach-O Linker Error"

For some reason I get this error "Apple Mach-O Linker Error [Linker command failed with exit code 1]" when building the project after I add the code lines to the AppDelegate file. It builds perfectly ...
Hector Roberto Ferronato's user avatar
1 vote
1 answer
517 views

share photo with standard text - Facebook iOS SDK 4.x

I need to post a picture on the user's wall with a standard text. Can you do this with the FBSDK 4.x? let photoshare = FBSDKSharePhoto(image: recortarImagem(), userGenerated: true) let ...
Matheus Melo's user avatar
0 votes
0 answers
150 views

"Given URL is not allowed by the Application Configuration" Facebook SDK Swift Error?

I am creating a page where users can Login through Facebook. This error keeps popping up -- any idea how to fix this please? Thanks!
user5496947's user avatar

15 30 50 per page