Facebook connect not working (SDK 3)

14,941

I tried updating the facebook app and the problem was solved.

Maybe you have an old version installed too. Hope it helps.

Share:
14,941
Janek
Author by

Janek

Updated on June 04, 2022

Comments

  • Janek
    Janek almost 2 years

    In my app I'm using Facebook SDK and everything works fine when I'm debugging it, after signing it I can't log in to facebook account on every telephone (works on Galaxy GIO and s2 not working on Xperia Arc S). After clicking log in it shows: could not find the page fbconnect:/success/#access_token=[access-token] . I have provided both keyhashes for debug.keystore and mine own keystore. I thought i found a solution: here on stack but it's not working for me, or maybe I'm doing something wrong with it.

    Due to this link I have to add following code to my proguard-project.txt:

    # need this for Facebook SDK
    -keepattributes Signature
    
    -dontwarn com.facebook.**
    -dontwarn com.parse.**
    
    -keep class com.facebook.** { *; }
    -keep class com.parse.** { *; }
    

    But as I said it's not working or maybe I have to replace stars above with some code (I'm a newbie) ? Thanks for help