简体   繁体   English

打开图故事中的标记好友中的权限错误

[英]Permission Error in Tag Friends in Open Graph Stories

I'm trying post a Open Graph Story using a ShareOpenGraphContent and ShareApi.share in Android. 我正在尝试使用Android中的ShareOpenGraphContent和ShareApi.share发布开放图谱故事。 That's work fine, but when I use setPeopleIds in content, I get a "Permissions error". 很好,但是当我在内容中使用setPeopleIds时,出现“权限错误”。

I already setup the Action Type to enable tags friends, but doesn't work. 我已经设置了动作类型以启用标签好友,但是不起作用。

Is it possible? 可能吗? Thanks! 谢谢!

under your app in Status & Review the publish_actions permission should be require. 在状态和评论中您的应用程序下,应该需要publish_actions权限。 And your application the publish_actions should be add to the login. 并且您的应用程序publish_actions应该添加到登录名中。 here is a java example with facebook Login button 这是带有Facebook登录按钮的Java示例

    final List<String> actionPermission = new LinkedList<String>();
    actionPermission.add("publish_actions");
    buttonLoginFacebook.setPublishPermissions(actionPermission);

see Login https://developers.facebook.com/docs/facebook-login?locale=pt_BR 请参阅登录https://developers.facebook.com/docs/facebook-login?locale=pt_BR

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM