davejohnson/phonegap-plugin-facebook-connect — Issue #65: Authentication problem on device without FB app
Author: vankov1
Created: 2011-11-29 19:58:17+00:00
State: open

I have implemented step by step the PG FB plugin, when I run it on android device with the facebook app installed on it there are no problems. When the login button is tapped it switches to FB app and everything is working as expected. However if I try to use it without the FB app installed on the device when the login button is tapped nothing happens. There is nothing in the error log.

As far as I searched the property
nativeInterface: PG.FB in the FB.init({ appId: "xxx", nativeInterface: PG.FB });
is responsible for the call to the native FB app. I tried removing it ( like FB.init({ appId: "xxx" }); ) and expected to be redirected to the touch FB site or something like this.

The result was that it opens an error facebook page with the following information:

An error occured with ..... Please try again later.
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.

I'll appreciate any help :)
Thank you