[Solved] UnityIAP FB: User cancelled login error (unable to initialize IAP)

EDIT: Solved ~ not sure how to delete post

Hi there,

I’ve been trying to get my IAP’s working in the facebook gamesroom all day with no luck. I read that Unity IAP, as of 5.6, is capable of working with the facebook sdk and I can see that it’s trying to.

The problem is however, is that whenever I try to initialize Unity IAP, it attempts to log into facebook and just fails. A dialogue previously came up with the error:

Facebook login message: “URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings.”

However, since I changed some of the Facebook Login Product settings on the FB Dev console, the dialogue no longer appears, but the same ‘User cancelled login’ action is occurring.

I assume that there’s something wrong with my Client OAuth settings (I have no idea what this even is tbh).

Here is a link to my Facebook Login Product info: Imgur: The magic of the Internet

I hope someone can help!

Cheers

Glad you solved it. Generally you do not want to delete posts, but rather just post the solution to your problem so others may learn from it.