我尝试从我的 android 应用程序中进行 facebook 分享。
我的共享对话框已启动,但回调时出现此错误
W/fb4a(:<default>):BlueServiceQueue(25922): {"error":{"message":"An unknown error has occurred.","type":"OAuthException","code":1}}
和
com.facebook.FacebookException: Error publishing message
这是我的代码
final FacebookDialog shareDialog = new FacebookDialog.ShareDialogBuilder(GooglePlusActivity.this)
.setApplicationName(getApplicationContext().getResources().getString(R.string.app_name)).setName("balbla").setLink("http://yahoo.fr").build();
uiHelper.trackPendingDialogCall(shareDialog.present());
谢谢你的帮助