我在Linkedin群组中使用http://code.google.com/p/simple-linkedinphp/接口发布消息时遇到问题。
使用此请求:
$OBJ_linkedin = new LinkedIn($API_CONFIG);
$response = $OBJ_linkedin->createPost( "IDGROUP" , "title test", "message test");我收到以下响应:
<error>
<status>403</status>
<timestamp>1369732087697</timestamp>
<request-id>NNPMM1EN5E</request-id>
<error-code>0</error-code>
<message>com.linkedin.anet.auth.pub.ANetAuthException: nonMember: anetID=IDGROUP </message>
<error>我正确地将IDGROUP替换为组ID,并且AppKey和AppSecret也是正确的。
发布于 2013-05-28 17:32:49
在调用接口之前,您必须设置access token。
$OBJ_linkedin->setTokenAccess(array("oauth_token" => $oauth_token,
"oauth_token_secret" => $oauth_token_secret));https://stackoverflow.com/questions/16788418
复制相似问题