Thursday, 15 August 2013

android - Facebook error "login misconfigured" -



android - Facebook error "login misconfigured" -

error in logcat is:

02-12 10:04:54.240: e/surfaceflinger(521): couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake 02-12 10:04:54.250: d/libegl(521): egl.cfg not found, using default config 02-12 10:04:54.260: d/libegl(521): loaded /system/lib/egl/libgles_bst.so 02-12 10:04:54.260: w/pga(521): eglgetprocaddress: "eglgetrenderbufferandroid" not found 02-12 10:04:55.260: e/hdipc(521): connect failed err = -1 errno = 110 (etimedout). timeout log logged 1 time per process 02-12 10:04:55.260: e/pga(521): failed connect host, err = -1, retrying... logged 1 time per process avoid flooding logs.

when phone show error , when press ok button on fb page right top corner. have generate hash key , set dash board. working when uninstall fb app mob. doen't work fb app. please help me

at times, key hash have generated isn't quite right one. apparently (unconfirmed of course), has jre 1.7.

follow 1 of 2 solutions below, , should go.

solution 1:

try link: http://www.helloandroid.com/tutorials/using-facebook-sdk-android-development-part-1. found using facebook method of getting hash key did not work advertised. link however, has different method of getting hash key , has pretty much worked.

solution 2:

that beingness said, found simplest thing was, let facebook sdk tell hash key is. far more simpler , shouldn't take more couple of minutes.

step 1: in facebook sdk, locate util.java class. in that, alter this:

private static boolean enable_log = false;

to:

private static boolean enable_log = true;

step 2: create new signed apk, transfer device , install. if installed, naturally, prompt.

step 3: ddms (logcat) running , device connected computer, run application , maintain looking key mismatch warning. warning has actual hash key. re-create key, go facebook developer page , add together new key list.

android facebook-social-plugins

No comments:

Post a Comment