您好我使用https://github.com/podio/podio-php与Podio API进行通信,问题是https://developers.podio.com/doc/items/get-item-revision-difference-22374无效......不知道为什么......
我的代码:
$client_id = "xxx";
$client_secret = "xxx";
$app_id = "xxx";
$app_token = "xxx";
Podio::setup($client_id, $client_secret);
try {
Podio::authenticate_with_app($app_id, $app_token);
$item_id = "xxx";
$revision_from_id = 0;
$revision_to_id = 1;
$showDiff = PodioItemDiff::get_for( $item_id, $revision_from_id, $revision_to_id );
echo $showDiff;
}
catch (PodioError $e) {
// Something went wrong. Examine $e->body['error_description'] for a description of the error.
}
页面上的结果:
阵列
有人可以帮助我吗?
答案 0 :(得分:0)
echo var_dump($showDiff);
问题已解决