xively / xively-php

Xively Api PHP 5 Chainable Implentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exception in api.php

joab83 opened this issue · comments

commented

Hi,
I tested this api and i have a problem with permissions.
I have included my Api Key in api.php, I have given all permissions in the server for all files... but doesn't work.
For example, when i try to do this in index.php:
$r = $xi->feeds()->list()->get();
var_dump($r);
die();

I have this error:
PHP Fatal error: Uncaught exception 'Xively\Exception' with message '{"title":"Forbidden","errors":"You do not have the necessary permissions to access this resource"}' in ...api.php:182

What permissions do you mean?
Thanks,
Regards!
José

Sorry, I can't offer help on bugs related to the actual source code of this package. Please check out the Xively Dev Center for additional help on API key/permission issues (see link below). This thread is being closed as the issue does not pertain to the source code of this package.

https://xively.com/dev/