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

Cannot login #91

Open onlymushu opened 8 years ago

onlymushu commented 8 years ago

Any of you know if this library still works? I've been trying for weeks now and still can't get it to work.

I've done exactly what is told here.

I have a phonegap app with the lattest cordova. I've created the facebook app with the appropriated links.

I keep getting the error on the browser: "Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains."

And this error on android: "The redirect_uri URL is not supported"

I've read all the forums and get any solution.

Thanks

idanb007 commented 8 years ago

Im getting white permission page to all my testers ... Only the creator of the app got the permission page and redirected back ...

wired, it worked before . this is the official steps : Login to Facebook Access https://developers.facebook.com/apps, and click Add New App Select www as the platform Type a unique name for your app and click Create New Facebook App ID Specify a Category, and click Create App ID Click My Apps in the menu and select the app you just created Click Settings in the left navigation Click the Advanced Tab In the OAuth Settings section, add the following URLs in the Valid OAuth redirect URIs field: http://localhost:8100/oauthcallback.html (for access using ionic serve) https://www.facebook.com/connect/login_success.html (for access from Cordova) Click Save Changes