我正在尝试使用 PECL oAuth 模块实现 LinkeIN API,我已设法导入我的联系人,并且脚本在我的开发环境中运行良好
但是在我的 Live Server 上,当我在身份验证后被重定向到我的网站时会引发异常(来自链接的网站)
我已确认以下内容: 1. TimeZone 正确且 My Server DateTime 设置正确。2.回调地址正确
异常:捕获异常!响应:400 1302008612531 0 不支持的 POST 目标 {/v1/people/~:(id,first-name,last-name,headline,location,industry,distance,relation-to-viewer,current-status,current-status-timestamp ,连接,总结,专业,提案评论,荣誉,职位,教育,会员网址资源,图片网址,网站标准配置文件请求,api标准配置文件请求)}致命错误:未捕获的异常' OAuthException',在 /var/www/html/contaxz/app/webroot/linkedIn/linkedin/Request.php:217 中带有消息“无效的身份验证/错误请求(获得 400,预期的 HTTP/1.1 20X 或重定向)”堆栈跟踪: #0 /var/www/html/contaxz/app/webroot/linkedIn/linkedin/Request.php(217): OAuth->fetch('https://api.lin...') #1 /var/ www/html/contaxz/app/webroot/linkedIn/example/index.php(23): LinkedIn_Request->
请建议
谢谢拉维