jeroendesloovere / wunderlist-php-api

This Wunderlist PHP Class connects to the Wunderlist API and has all functions implemented to insert/update/delete lists, tasks, reminders, files, notes, ...
MIT License
17 stars 4 forks source link

authentication problem #3

Closed hederzoltan closed 9 years ago

hederzoltan commented 9 years ago

I tried to call the wunderlist api through your code with my credentials and I got this error:

Fatal error: Uncaught exception 'JeroenDesloovere\Wunderlist\WunderlistException' with message 'Could not Authenticate.' in /home/hederhu/domains/heder.hu/public_html/w/src/Wunderlist.php:86 Stack trace: #0 /home/hederhu/domains/heder.hu/public_html/w/src/Wunderlist.php(63): JeroenDesloovere\Wunderlist\Wunderlist->authenticate() #1 /home/hederhu/domains/heder.hu/public_html/w/examples/example.php(20): JeroenDesloovere\Wunderlist\Wunderlist->__construct('zoltan@heder.hu', 'mypass') #2 {main} thrown in /home/hederhu/domains/heder.hu/public_html/w/src/Wunderlist.php on line 86

It seems to me, that I don’t have the right authority even to log in. I have a basic free accouint on Wunderlist. Do I neet to get an authority key from wunderlist? Or I do wrong something else?

Thank's for your time!!:) Zoltán

ps.: For testing purposes I changed my password to mypass. There is really nothing in my workspace yet:)

jeroendesloovere commented 9 years ago

Hi, I've started working on an updated class that connects to Wunderlist v3 by using OAUTH.