I’m integrating a Facebook log in in my iOs application using the Facebook SDK. Is there a way to change the view the facebook log in button takes me back to once the user logged in ? Right now it takes me back to the view where the FBLoginView was clicked.
To schematize:
Right now I have: View1 -> FacebookView -> View1
What I want: View1 -> FacebookView -> View2
Sure, when you call openActiveSession… on FBSession, call h handler method in the completionHandler block. Something like this:
in this handler you can do things after facebook returns depending on the status. Something like this:
Check out the facebook docs and also the examples. A lot of this is lifted directly from their examples.