Linkedin不支持的POST目标

时间:2015-06-11 07:19:00

标签: php symfony oauth-2.0 linkedin

我的计算机中有虚拟主机,symfony http://aog.local/app_dev.php的项目,我为linkedin连接创建路径http://aog.local/app_dev.php/auth/linkedin,但今天它不起作用,我开始转储($ response-> getResponse())我有:

    LinkedinProvider.php on line 24:
    array:5 [
    "errorCode" => 0
    "message" => "Unsupported POST target {/v1/people/~:(id,formatted-
name,email-address,picture-url)}"
    "requestId" => "2O8YQUBKIV"
    "status" => 405
    "timestamp" => 1434004701130
]

但昨天一切正常。我还有另一个网址http://bb.test/app_dev.php/这也是我计算机中的虚拟主机,在此项目中连接http://bb.test/app_dev.php/auth/linkedin一切正常,

    LinkedinProvider.php on line 24:
    array:4 [
    "emailAddress" => "shuba.ivan.vikt@gmail.com"
    "formattedName" => "Ivan Shuba"
    "id" => "C_vOx_qVcv"
    "pictureUrl" => "https://media.licdn.com/mpr/mprx/0_OCZwJKsgekwl-EEy-
 125jtryenwltHzrUNawpkjy2tyrcZqgRQa5BFrgoiQuNd6j-
C2L-C0j3tuKAu4ABAgBAktAktuAAuKjBAgeV5bp7PMgRswTR8I6sAWDXFn3ZuF2OtJbgBD5pKW"
]

我不明白什么是变化。这是projekts具有相同的代码连接和一个应用程序的工作,并具有相同的凭据,昨天所有工作。请帮忙

0 个答案:

没有答案