![]() ![]() Dropbox will send back a token plus a ‘secret’. To summarise, this script requests an OAuth token from Dropbox using cURL (a ‘token’ being a unique character string that will be used during the authentication process). Make sure you edit the ‘step_2_url’ variable at the top of the script to your own URL destination. ![]() Have a look at ‘step-1.php’ of our example. The Dropbox API uses OAuth ( ) to authenticate a user. Our main goal will be to create an authentication process that will basically give a user permission to interact with our Dropbox app. Replace the ‘xxxxxxxxx’s with your key/secret pair. In your development environment create a config.php file and add the following code (or update the example we have provided):
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |