By om252345


2010-12-23 17:20:22 8 Comments

SSO for facebook android gives me invalid_key every time, i tried to debug by every means but it is not working. So is there any way/hack to disable Single Sign on and work with web view authenticating method even if Facebook App is installed on device...

4 comments

@Sean Lynch 2011-07-01 09:19:30

You likely don't want to use FORCE_DIALOG_AUTH as the solution because this disables the very useful Single Sign On feature completely. Instead, if you go through the steps of setting up your application properly with Facebook, that should address the invalid_key issues. You can find a detailed explanation of this on my blog:

http://sean.lyn.ch/2011/07/android-the-facebook-sdk-sso-and-you/

@Abhinav Manchanda 2011-01-11 06:54:43

The invalid key issue could be because of a number of reasons, some of which I've detailed in this answer

@om252345 2010-12-23 17:35:42

ohh, Got answer make call to authorize method with activity code FACEBOOK.FORCE_DIALOG_AUTH mFacebook.authorize(activity, permissions, activityCode, listener); replace activityCode with FORCE_DIALOG_AUTH

@Oren 2013-10-01 16:26:30

This was true before sdk version 3.x, this answer worked for me using facebook sdk 3.5.1

Related Questions

Sponsored Content

97 Answered Questions

30 Answered Questions

33 Answered Questions

[SOLVED] How to avoid reverse engineering of an APK file?

45 Answered Questions

[SOLVED] Android SDK installation doesn't find JDK

12 Answered Questions

[SOLVED] How does Facebook disable the browser's integrated Developer Tools?

18 Answered Questions

[SOLVED] Fling gesture detection on grid layout

8 Answered Questions

[SOLVED] Android error: Failed to install *.apk on device *: timeout

4 Answered Questions

[SOLVED] Disable Single Sign On (SSO) in Facebook IOS SDK

1 Answered Questions

[SOLVED] How to disable Single SIgn On for facebook android app?

Sponsored Content