Facebook Authentication

2,363 views
Skip to first unread message

Mark

unread,
Oct 4, 2016, 12:39:20 AM10/4/16
to Firebase Google Group
Hi, 

I had FB Authentication working prior to Swift 3/Xcode8/iOS10 and now I'm trying to get it running but I am getting errors

let credential = FIRFacebookAuthProvider.credential(withAccessToken: (AccessToken.current?.authenticationToken)!)


my credential is giving me the following error


 message = "Unsuccessful debug_token response from Facebook: {\"error\":{\"message\":\"(#100) The App_id in the input_token did not match the Viewing App\",\"type\":\"OAuthException\",\"code\":100,\"fbtrace_id\":\"GIHW+QXnNup\"}}";

            reason = invalid;


I have already checked my plist info and the fb details are correct... any ideas ?


cheers


Mark

Jacob Wenger

unread,
Oct 4, 2016, 1:04:36 PM10/4/16
to fireba...@googlegroups.com
Hey Mark,

What version of the Firebase SDK are you using? Also, how are you getting the access token passed into that method? Is it possible the access token you are retrieving is for a different Facebook app? That's what the error seems to be saying.

I assume you've already seen this, but make sure you followed the instructions here (including the stuff in the "Before you begin" section) to do Facebook authentication on iOS.

Cheers,
Jacob

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/f309831c-5923-45b3-b25a-5853dff415e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages