Android的 - Facebook的连接失败 [英] Android - Facebook connectivity fails
问题描述
在我的Android应用程序,我整合Facebook的SDK有shareDialog在里面。份额对话框完美地与pre-填充细节公开。当我点击sharedialog屏幕右上角的份额,我得到的logcat中,并在祝酒下面提到的错误。请让我知道我的配置需要更正。
的logcat
15 04-17:15:47.140:E / Facebook的(14515):错误:com.facebook.FacebookException:无法
身份验证,因为应用程序名称不匹配的应用程序。请检查应用程序
通过命名对话框配置。
转到Facebook的开发者页面
应用 - >YourApp - >设置 - >
然后,更改套餐名称(您的应用程序包的名称)和类名(您的活动类的名称)
有一个例子:
In my Android app, I am integrating the Facebook SDK to have the shareDialog in it. The share dialog open perfectly with the pre-populated details. When I clicked SHARE on top right of sharedialog screen, I am getting the below mentioned error in logcat and in Toast. Please let me know where my config needs correction.
Logcat
04-17 15:15:47.140: E/Facebook(14515): Error: com.facebook.FacebookException: Failed to
authenticate the application because of app name mismatch. Please check the application
name configured by the dialog.
Go to Facebook developers page
Apps --> "YourApp" --> settings -->
Then change Package name (your application package name) and Class name (your activity class name)
for an example:
这篇关于Android的 - Facebook的连接失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!