当我通过UnificationEngine在instagram上分享一条信息时,我会收到以下错误:
Exception in UEUser.php line 74: The password you entered is incorrect. Please try again in UEUser.php line 74
at UEUser->add_connection('instagramBoard', 'instagram', '4544942713.7da612b.4de7a5a78fb0491dba2b27a60dc1749d') i我的守则是:
$app = new UEApp("APP_KEY","APP_SECRATE");
$user = new UEUser("USER_KEY", "USER_SECREATE");
$con = $access_token ."@instagram.com/?username=rajneesh8239&password=testing1";
$connection = $user->add_connection("instagramBoard", "instagram", $con);
$options = array(
"receivers" => array(
array(
"name"=> "Me"
)
),
"message"=>array(
"subject"=>"Transparentcom testing fine",
"body"=> "",
"image"=> '',
"link"=>array(
"uri"=> '',
"description"=> "",
"title"=>"Click here for view"
)
)
);
//Send the message and get their uris
$uris = $connection->send_message($options);卷曲错误:
流浪者@宅基地:~/Code/laravel$ curl -XPOST https://apiv2.unificationengine.c om/v2/user/create -u -u-data '{}‘{}’{"status":200,"info":"200 OK","uri":"user://0e4946b0-9e60-4e0f-b54-f4e39ab5b0b:0490d37c-e284-422e-b8de-00b5f81ff81@"}
流浪者@宅基地:~/Code/laravel$ curl -XPOST https://apiv2.unificationengine.c om/v2/https://apiv2.unificationengine.c/add -u -u-data '{"uri":"instagram://4544942713.7da612b.4de7a5a78fb0491dba2b327a60dc1749d@instagram.com",“name”:“instagram”} {"status":500,“info”:“不正确的密码”}
发布于 2017-02-03 12:36:19
请像这样使用这段代码,你只需要像这样修改这一行。
$con = $access_token."@instagram.com/?username=rajneesh8239&password=testing1";
$connection = $user->add_connection("instagramBoard", "instagram", $con);请检查代码
https://stackoverflow.com/questions/41954594
复制相似问题