虽然我从Android应用程序的开发模式成功发布了作为测试用户的操作,但当我尝试提交此操作以供审核时,Facebook仍会显示以下消息。
这是分享行动的代码示例。
ShareOpenGraphObject object = new ShareOpenGraphObject.Builder()
.putString("og:type", "game")
.putString("og:title", "Janoki Tiger English Competition!")
.putString("og:description", "I got " + ans + " score in Janoki Tiger English Competition! I'm ranked " + rank + "th out of " + participants + " participants!")
//give a image url here
.putString("og:image", "")
.putString("og:url", "https://play.google.com/store/apps/details?id=venturas.bd.janoki")
.putString("fb:app_id","")
.build();
// Create an action
ShareOpenGraphAction action = new ShareOpenGraphAction.Builder()
.setActionType("venturas-bd-janoki:game")
.putObject("game", object)
.build();
// Create the content
ShareOpenGraphContent content = new ShareOpenGraphContent.Builder()
.setPreviewPropertyName("game")
.setAction(action)
.build();
ShareDialog.show(this, content);