Facebook IOS SDK navigate to another controller after login not working

Facebook IOS SDK navigate to another controller after login not working

Content Index :

Facebook IOS SDK navigate to another controller after login not working
Tag : ios , By : Francesco
Date : November 24 2020, 01:01 AM

Any of those help Check the pageLike controller and remove all the fb login view controller as they might be creating issues .

No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

xcode & swift: Navigate to ta bbar controller after facebook login in

Tag : swift , By : Pip
Date : March 29 2020, 07:55 AM
like below fixes the issue If you have a UITabBarController in your storyboard, make it the initial view controller (you can set this in the storyboard editor). You should be able to leave your Facebook login view controller as is. The next step you should take is to set a Storyboard ID to the Facebook view controller; that way you'll be able to use instantiateViewControllerWithIdentifier. Go to your storyboard and select the Facebook view controller. Navigate to the identity inspector and set the Storyboard ID to a string value (it can be anything, but try to choose something easily recognizable).
class FirstTabViewController: UIViewController {

    var canLogin:Bool = true

    override func viewDidLoad() {
        // Do any additional setup after loading the view, typically from a nib.

    override func viewDidAppear(animated: Bool) {

        // Check to see if you need to log in
        if self.canLogin {
            // Get a reference to the storyboard
            let storyboard = UIStoryboard(name: "Main", bundle: nil)
            // Instantiate the login view controller
            let loginViewController = storyboard.instantiateViewControllerWithIdentifier("login") as! LoginViewController
            // Present the view controller
            self.presentViewController(loginViewController, animated: true, completion: nil)
            // After presenting the view controller, set a value to prevent it from poping up every time we navigate to this view
            self.canLogin = false




Facebook Login not working after renaming VIew Controller

Tag : ios , By : chudq7
Date : March 29 2020, 07:55 AM
will help you I fixed the issue thanks to the pointers by Kevin Vaughan. After adding break points to my code, I noticed it was never breaking at these points suggesting the code was not being executed.
I had to update the absolute path to the view controller for the storyboard to finally read the code.

Tag : ios , By : user135518
Date : March 29 2020, 07:55 AM
I hope this helps you . Going off the error message you posted, the issue is that the correct "this" object is not being passed into the "fbAuth" function in your first "TouchableHighlight" component. This is occurs when you pass the function directly as input to an "onPress" or other event handlers. To pass the correct "this" object, you can use an anonymous function using arrow notation like you're doing in the other "onPress" functions.
The relevant code block is:
    <TouchableHighlight onPress={() => this.fbAuth()}
      <Image style={{width: 218, height: 37}}

Cant get React native app to navigate to homescreen after facebook login

Tag : react-native , By : mediafarm
Date : March 29 2020, 07:55 AM
Hope this helps I am making a react native application where the user logs in with Facebook and then goes to their home page with more details of the app and I can not get the App to navigate to the homepage after successful login with Facebook. , I used
FBLogout = (accessToken) => {
  let logout =
      new GraphRequest(
              accessToken: accessToken,
              httpMethod: 'DELETE'
          (error, result) => {
              if (error) {
                  console.log('Error fetching data: ' + error.toString());
              } else {
  new GraphRequestManager().addRequest(logout).start();
<View style={styles.container}>
  <SettingsView profile={this.state.profile}/>
    onPress={() => {
    title="Log Out"

How to get facebook login working with devise, omniauth - cannot overcome controller error

Tag : ruby-on-rails , By : Zinovate
Date : March 29 2020, 07:55 AM
Related Posts Related QUESTIONS :
  • SwiftUI creates destination views before the user navigates to them
  • Streaming video from https with AVPlayer causes initial delay
  • Tap Action not working when Color is clear SwiftUI
  • SwiftUI NavigationButton: How to navigate to different destinations
  • Supported default light/dark mode colors for Color vs UIColor
  • XCUITest wait for a cell with a specific static text inside it
  • Not able to enable Development mode on iOS 13
  • How to hide the home indicator with SwiftUI?
  • How to write if condition with using label text (Int) values
  • Swift Cannot use instance member within property initializer
  • Issue while getting the frame of the keyboard
  • dynamicMemberLoookup ExpressibleByStringLiteral parameter swift
  • iOS Unity Firebase Messenger Xcode Compile Error: FIRDynamicLinks
  • Firebase Storage Image Cache not updating SWIFT
  • unhandled js exception: application main has not been registered expo TestFlight
  • App freezes on IOS when navigate to another screen - React Navigation
  • How to create haptic feedback for a Button in SwiftUI?
  • How can I achieve automatic scrolling in my text view when text comes down to the keyboard level in Swift?
  • how to get the location with the CLLocationManager every 10 secondes?
  • Calling completion handler of a function from Timer selector function Swift
  • How to make SwiftUI view fullscreen?
  • RAM, JSC, Views, UI and JS usage table appearing whenever I launch my react native app. How to remove this table?
  • Change status bar background color using UIStatusBarManager
  • Should we make tapGesture component an IBAction or IBOutlet to capture the tap event?
  • Iframe automatically goes full screen using Ionic 3.9.2 on iOS
  • How to calculate score out of 1000 given some seconds (In Double)
  • How to calculate time (minutes) between two dates in swift?
  • There was problem loading requested app.it looks like you may be using LAN URL
  • Swift circular corners doesn't work properly on different screen sizes
  • How change .navigationBarTitle font in SwiftUI?
  • What happens if `MPSCNNConvolutionDataSource` protocol's `load` method return false?
  • Why does the UIBarButtonItem not show up when I create it with code?
  • How to prevent following view controller inheriting navigation view controller bar?
  • What does it mean when .xcodeproj files are shown in red in Xcode?
  • Xcode SwiftUI how to scroll the Preview Canvas?
  • Expand tableview and increase scrollview content size by an appropriate difference on clicking a button inside a table c
  • xcodebuild failed with return code: 65 - using CLI/Appcenter but no error messages
  • "'isDeveloperModeEnabled' is deprecated: This no longer needs to be set during development. " What is isDevelo
  • Right click in UIKit for Mac
  • How we Support Dark Mode in Current iOS App with iOS 13?
  • Security vulnerablility issue in ios mobile app
  • How to set a background color for the viewController in swiftUI?
  • SwiftUI : Segue navigation
  • iOS 13 Custom UISearchBar _searchField crash
  • USDZ models have holes in SceneKit but not QuickLook
  • Why does iOS Password Autofill not prompt to save password on keychain?
  • Pushing information to firebase after event is created(Firebase-Realtime-Database)
  • Xcode 11 Beta and Carthage bootstrap
  • How to change the status bar background color and text color on iOS 13?
  • Using Core Data with SwiftUI
  • How should I do to wait all the data downloaded completely and show on TableView?
  • Can we specify the number of rows that can be shown in each section of a collection view
  • Why sometimes completion handler not called?
  • Protocol 'View' can only be used as a generic constraint because it has Self or associated type requirements
  • In UIKit we can set label.numberOfLines = 0 when we do not know how many lines the text will take? What is the alternati
  • Swift ISO8601 format to Date returning fatal error
  • SwiftUI Login Page Layout
  • Xcode: Could not locate installed application. Install claimed to have succeeded, but application could not be found on
  • See the TestFlight crash log in the Xcode
  • Why does zero UIView's CALayer.speed stops UIAlertController's buttons from working?
  • shadow
    Privacy Policy - Terms - Contact Us © scrbit.com