"Array ( [error_parameters] => Array ( ) [error_detail] => [error_propagate] =>.."
Starting out with podio API going no where fast..
<?php
define("CLIENT_ID", "###");
define("CLIENT_SECRET", "####");
define("APP_ID", "###");
define("APP_TOKEN", "#####");
require_once 'podio/PodioAPI.php';
Podio::setup($client_id, $client_secret);
if (!Podio::is_authenticated())
{
try {
Podio::authenticate_with_app($app_id, $app_token);
}
catch(PodioError $e) {
die(print_r($e->body));
}
}
?>
Output:
Array ( [error_parameters] => Array ( ) [error_detail] => [error_propagate] => [request] => Array ( [url] => http://api.podio.com/oauth/token [query_string] => [method] => POST ) [error_description] => Invalid value "" (string): must be integer [error] => invalid_value ) 1
Please sign in to leave a comment.
Comments
2 comments