如何从Android上发布关于我的链接组的讨论?我正在使用:LinkedIn api客户端异常访问组拒绝?
final GroupsApiClient client = factory.createLinkedInApiClient(accessTokenValue, tokenSecretValue);
client.getGroupById(groupid);
client.createPost("arg0", "arg1", "arg2");
但得到错误access to group denied
请问能有人帮忙吗?谢谢 !!
感谢您的回复我使用访问令牌和秘密直接进行API调用可以指导如何广告这些permision?在组中设置我们的android代码 – haniya
如果您有访问令牌,那么您已经知道如何获取请求令牌。我上面提供的电话显示了如何将rw_groups权限授予您的应用程序。有关更多详细信息,请参阅身份验证文档:https://developer.linkedin.com/documents/authentication –
我在最终LinkedInRequestToken中使用了此权限liToken = oAuthService.getOAuthRequestToken(“https://api.linkedin.com/uas/的OAuth/requestToken范围= rw_groups“)?;当我运行我的代码时,它给了authunication对话框,当我点击登录按钮,然后吐司出现“开始下载”,没有其他事情发生,你可以建议什么?谢谢!! – haniya