ccoenraets / OpenFB

Micro-library that lets you integrate browser and Cordova apps with Facebook with no plugin or SDK dependency.
MIT License
505 stars 231 forks source link

Phonegap: Login problem #62

Open kegita opened 9 years ago

kegita commented 9 years ago

Hi! I have a problem with login and i am not able to resolve it. I have followed every step and i have inserted "https://www.facebook.com/connect/login_success.html"; after insert user data on Facebook Login, appears an error and, after click on "OK" button, the phone shows a white page with "success" label and "SECURITY WARNING: Please treat the URL above as you would your password".

fanals commented 9 years ago

You need to install the inappbrowser plugin:

https://github.com/ccoenraets/OpenFB#user-content-cordova-instructions

kegita commented 9 years ago

I have installed this plugin, but the problem there is again.

TrollWarlord commented 9 years ago

same it seems to only happen on iOS devices? Android / web emulator is fine?

AgentChris commented 9 years ago

i have the same problem, the Android/web emulator works fine though

TrollWarlord commented 9 years ago

I've narrowed it down to ios only. 

Sent via the Samsung GALAXY S® 5, an AT&T 4G LTE smartphone

-------- Original message -------- From: AgentChris notifications@github.com Date:04/25/2015 9:50 AM (GMT-06:00) To: ccoenraets/OpenFB OpenFB@noreply.github.com Cc: TrollWarlord counterstrike.styles+troll@gmail.com Subject: Re: [OpenFB] Phonegap: Login problem (#62)

i have the same problem, the Android/web emulator works fine though

— Reply to this email directly or view it on GitHub.

xgenem commented 9 years ago

Please take time to look at the present issues before opening a new one. https://github.com/ccoenraets/OpenFB/issues/30#issuecomment-98092086

sajclarke commented 8 years ago

Hi, can you check your facebook app to ensure you have added the "website" platform?

In Facebook Developers Console, go to your app then go to "Basic" section and under the section with App ID, click "Add Platform" and choose "website". You do not have to add any of the URLs since you're using cordova.

Also make sure that you have turned on OAuth Login in the "Advanced" section

This worked for me. Let me know if it works for you

ignacio-chiazzo commented 8 years ago

You do not have to add any of the URLs since you're using Cordova.????

You cannot have a website platform without having a URL @sajclarke

ndelvalle commented 8 years ago

Yeah @ignacio-chiazzo is right, you can't leave it blank. Should it go http://localhost/?