Wizcorp / phonegap-facebook-plugin

The official plugin for Facebook in Apache Cordova/PhoneGap
Other
1.9k stars 2.01k forks source link

An error has occurred, please try again later #195

Open nate8684 opened 11 years ago

nate8684 commented 11 years ago

I have installed the plugin and everything seems to be working ok, no errors or anything. However, when I click "login" on the top right corner it takes me to the facebook app but the gives me "An error has occurred, please try again later." Does anyone know why it does this? Is there something wrong with my implementation of the plugin or have I set up my facebook app settings incorrectly?.

hirensakhiya commented 11 years ago

I also got same error from facebook - "An error has occurred, please try again later."

Any Idea... why this ?

leor-c commented 11 years ago

I had this problem. if you're using android follow these steps: in your facebook app page you need to ensure that in the Native android App you enabled "Facebook login" and disabled "Deep linking". after that you need to enter your app's hash key, you can find that key in the console log or you can use this code: http://p-xr.com/implementing-facebook-into-your-app-invalid-key-with-keytool/ to alert it for you.

nate8684 commented 11 years ago

Turns out the fix for me was to change it into a web app rather than a native app. We're using Phonegap to develop the app rather than a true "native" app.

hirensakhiya commented 11 years ago

I am able to compile and run succesfully , but after signing with facebook app,

app crash and got error....

in main.m

import

int main(int argc, char *argv[]) {

NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");----------->thread 1 program received signal sigabrt [pool release]; return retVal;