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

18 Answered Questions

[SOLVED] Fling gesture detection on grid layout

34 Answered Questions

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

104 Answered Questions

[SOLVED] Close/hide android soft keyboard

45 Answered Questions

[SOLVED] Android SDK installation doesn't find JDK

32 Answered Questions

[SOLVED] How to save an activity state using save instance state?

8 Answered Questions

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

12 Answered Questions

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

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