Unity 5.2.2P1 and Facebook SDK v7.2.1 not working

I recently upgraded my project to unity 5.2.2p1 but on building I was getting an error that said unexpected symbol after . , or something similar as soon as game started. I managed to isolate the issue to the facebook init call. (FB SDK version was 7.0.2-beta).So I figured updating facebook SDK would fix the issue and I was right updating the sdk no longer caused the game to crash on the init call but when I try to call login after Init I get the error that I am trying to call login before init… Ive attached the screenshot which shows my init call and then the error right after it.

Also I made a build in webgl with the Facebook example scenes to verify and they had the same issue any help would be appreciated.

2358115--159846--FacebookError.PNG

Are you calling FB.Init ? you should call that (only once) and wait for it to complete the init.
Only once it finishes the init, you can call other methods (e.g: Login)

Hi Arsinx , as liortal mentioned you should only call one of FB.LogInWithReadPermissions or FB.LogInWithPublishPermissions after FB.Init has completed.

When you call FB.Init, you can pass in a callback and only after that callback is run should you call any methods from the Facebook SDK. eg:

FB.Init(() => {
    if (FB.IsInitialized) {
        FB.LogInWithReadPermissions(...);
    }
}

Yes, thats what I am doing, in this example I called init again after initially calling it to show that it had been called.before I called login. Like I said I even tried Facebooks OWN example and it did not work. this is not an issue of waiting for FB.Init to respond. as you can see init has been called and fb has been initialized before the login call.

I am unable to reproduce using the sample project.
Can you point us to a repro of the issue or upload a build to a file-sharing service to share the repro?