4/26/2023 0 Comments Wunderlist website![]() ![]() In PHP via terminal php -S localhost:8000 If you're working locally, I recommend using ngrok: Note: the URL you provide must be the same you set as your app auth callback url. Make sure you temporarily save said random string (in a file or session): $state = md5( time()) // Store the $state to retrieve it later // Redirect the user to: $w ->authUrl( $state, ' ') Wunderlist needs 2 things: a random string passed to it and the callback URL. Up until this point you've only had the app access token, which you can use for yourself.įirst, redirect the user to Wunderlist, where they need to grant access to your app. Authorizationįor some methods (mostly the ones where you need to write, update or delete data), you're going to need a user access token. You can optionally pass a boolean as the 4th parameter that decides whether or not the package should throw exceptions when a required parameter is missing. Otherwise, pull in the file yourself: getCurrentUser() If you're using a framework, everything in your vendor directory is most likely autoloaded for you. This package may be installed through Composer: composer require johnrivs/wunderlist If your app is not yet hosted on the Internet, set both the URL fields to You're only going to need a 'real' auth callback url when you need to set up authorization (more about this later). Wunderlist will ask you about the name of the app, the description, an icon to represent the app, the URL where it is located and the callback URL for authorization. To do that, go here, log in and click on the blue button that says 'CREATE APP'. Why does it say Forbidden during authentication?įirst of all, you need to register your app.Why do some methods take more time than others?.What should I expect from the Wunderlist API?.Move your lists and tasks to Microsoft To Do before May 6th. Wunderlist will be officially shut down on May 6th. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |