Android的Facebook的ApiException:无效的应用 [英] Android Facebook ApiException: Invalid Application

查看:165
本文介绍了Android的Facebook的ApiException:无效的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到的Facebook ApiException:无效的应用程序错误,当我尝试了一些其他帐户从我的开发者帐户登录分开,甚至我的沙盒模式是关闭的,因为我已经检查具有相同issue.Thanks提前其他职位<。 / P>

10-24 17:03:24.355:W / System.err的(13721):com.facebook.FacebookAuthorizationException:UnknownError:ApiException:无效的应用程序165081033652784 10-24 17:03:24.355:W / System.err的(13721):在com.facebook.Session.handleAuthorizationResult(Session.java:1078) 10-24 17:03:24.355:W / System.err的(13721):在com.facebook.Session.onActivityResult(Session.java:554) 10-24 17:03:24.355:W / System.err的(13721):在com.facebook.UiLifecycleHelper.onActivityResult(UiLifecycleHelper.java:144) 10-24 17:03:24.355:W / System.err的(13721):在com.punchh.base.FacebookActivity.onActivityResult(FacebookActivity.java:141) 10-24 17:03:24.355:W / System.err的(13721):在android.app.Activity.dispatchActivityResult(Activity.java:5390) 10-24 17:03:24.355:W / System.err的(13721):在android.app.ActivityThread.deliverResults(ActivityThread.java:3201) 10-24 17:03:24.355:W / System.err的(13721):在android.app.ActivityThread.handleSendResult(ActivityThread.java:3248) 10-24 17:03:24.355:W / System.err的(13721):在android.app.ActivityThread.access $ 1200(ActivityThread.java:140) 10-24 17:03:24.355:W / System.err的(13721):在android.app.ActivityThread $ H.handleMessage(ActivityThread.java:1285) 10-24 17:03:24.355:W / System.err的(13721):在android.os.Handler.dispatchMessage(Handler.java:99) 10-24 17:03:24.355:W / System.err的(13721):在android.os.Looper.loop(Looper.java:137) 10-24 17:03:24.355:W / System.err的(13721):在android.app.ActivityThread.main(ActivityThread.java:4935) 10-24 17:03:24.355:W / System.err的(13721):在java.lang.reflect.Method.invokeNative(本机方法) 10-24 17:03:24.355:W / System.err的(13721):在java.lang.reflect.Method.invoke(Method.java:511) 10-24 17:03:24.355:W / System.err的(13721):在com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:1038) 10-24 17:03:24.355:W / System.err的(13721):在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805) 10-24 17:03:24.355:W / System.err的(13721):在dalvik.system.NativeStart.main(本机方法)

解决方案

我有同样的问题,检查Facebook的应用程序的配置,也许是开发者模式(沙盒)。只有开发人员用户加入开发人员角色可以看到应用程序并使用它。 尝试更改应用程序配置公共应用程序。

请记:如果你设置像公共应用程序所有的Facebook用户将能够看到您的应用程序。如果你的应用正处于发展时期,它是与Facebook角色更好的工作。当你的应用程序是在释放期,是时候改变为公共应用程序

I am getting Facebook ApiException: Invalid Application error when I try to log in with some other account apart from my Developer Account and even my sandbox mode is off as I have checked with other posts having same issue.Thanks in advance.

10-24 17:03:24.355: W/System.err(13721): com.facebook.FacebookAuthorizationException: UnknownError: ApiException:Invalid application 165081033652784 10-24 17:03:24.355: W/System.err(13721): at com.facebook.Session.handleAuthorizationResult(Session.java:1078) 10-24 17:03:24.355: W/System.err(13721): at com.facebook.Session.onActivityResult(Session.java:554) 10-24 17:03:24.355: W/System.err(13721): at com.facebook.UiLifecycleHelper.onActivityResult(UiLifecycleHelper.java:144) 10-24 17:03:24.355: W/System.err(13721): at com.punchh.base.FacebookActivity.onActivityResult(FacebookActivity.java:141) 10-24 17:03:24.355: W/System.err(13721): at android.app.Activity.dispatchActivityResult(Activity.java:5390) 10-24 17:03:24.355: W/System.err(13721): at android.app.ActivityThread.deliverResults(ActivityThread.java:3201) 10-24 17:03:24.355: W/System.err(13721): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3248) 10-24 17:03:24.355: W/System.err(13721): at android.app.ActivityThread.access$1200(ActivityThread.java:140) 10-24 17:03:24.355: W/System.err(13721): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1285) 10-24 17:03:24.355: W/System.err(13721): at android.os.Handler.dispatchMessage(Handler.java:99) 10-24 17:03:24.355: W/System.err(13721): at android.os.Looper.loop(Looper.java:137) 10-24 17:03:24.355: W/System.err(13721): at android.app.ActivityThread.main(ActivityThread.java:4935) 10-24 17:03:24.355: W/System.err(13721): at java.lang.reflect.Method.invokeNative(Native Method) 10-24 17:03:24.355: W/System.err(13721): at java.lang.reflect.Method.invoke(Method.java:511) 10-24 17:03:24.355: W/System.err(13721): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038) 10-24 17:03:24.355: W/System.err(13721): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805) 10-24 17:03:24.355: W/System.err(13721): at dalvik.system.NativeStart.main(Native Method)

解决方案

I had the same problems, check the facebook's application configuration, maybe is on Developer Mode (SandBox). Only developer users added in developer roles can see the app and use it. Try changing the app configuration to public app.

Take a note: If you set like "Public App" all facebook user will be able to see your app. If your application is in development period it's better work with Facebook Roles. When your app is in release period it is time to change to "Public App"

这篇关于Android的Facebook的ApiException:无效的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆