如何從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