request empty in create pin
mtnyvz16 opened this issue · 3 comments
mtnyvz16 commented
$pinInfo = $pinterest->pins->create(array(
"board" => $pinterest_board_id,
"image" => $data_url,
"note" => $pinterest_note,
"link" => $post_link
));
$pinInfo = json_decode($pinInfo, true);
print_r($pinInfo);
pinterest post is successful but id is empty.
output:
Array
(
[id] =>
[link] =>
[url] =>
[creator] =>
[board] =>
[created_at] =>
[note] =>
[color] =>
[counts] =>
[media] =>
[attribution] =>
[image] =>
[metadata] =>
[original_link] =>
)
dirkgroenen commented
Seems to be related to #112
mtnyvz16 commented
@dirkgroenen I use the version 0.2.13 you updated on January 27.
Started to do the problem on February 26.
Please check your application.
Thanks.
mtnyvz16 commented
json:
{"id":null,"link":null,"url":null,"creator":null,"board":null,"created_at":null,"note":null,"color":null,"counts":null,"media":null,"attribution":null,"image":null,"metadata":null,"original_link":null}