ccsoft / cordova-facebook

Cordova plugin that handles Facebook integration in mobile apps.
Apache License 2.0
87 stars 43 forks source link

No native alert dialog #65

Open hirbod opened 9 years ago

hirbod commented 9 years ago

Hi @koraybalci ,

why does this plugin always open the Facebook App instead of showing a native alert dialog like other apps do? The app also does not register inside the Facebook Settings.

It should do something like this: 118d6882-a725-11e4-9403-2bd9380200a0

This is much more intuitive then jumping around a few apps. Can you optimize this behaviour? Seems like this is just a few lines of code: https://github.com/Wizcorp/phonegap-facebook-plugin/issues/910

koraybalci commented 9 years ago

This was the default behaviour back in old Facebook SDK versions. I suppose Facebook decided to just change it and make it parametric.

I found this thread relevant: http://stackoverflow.com/questions/23476499/native-facebook-login-stopped-working-after-sdk-update-to-3-14

I can add this, but currently I am swamped with other stuff. I'd appreciate a pull request if you can :)

hirbod commented 9 years ago

I don't know if I have enough know how for this.

koraybalci commented 9 years ago

Our login call is at line 290 of CordovaFacebook.m

I would try the parameter mentioned in the link you shared above, however we are not using the same functions. So I should dive in and do some reading and digging and testing.. (not today though)

hirbod commented 9 years ago

Any news on this? :)

hirbod commented 9 years ago

ping