Thanks, this link works perfectly!
But I am still confused.
I tried to change this code line
tokenLink = "https://api.dropbox.com/0/token?"
to
tokenLink = "https://api.dropbox.com/1/token?"
don't know if that changes the version of API, but now I don't receive the error which I mentioned before!!
Unfortunately I receive a new error:
"this app has no permission…."
I moved back to Dropbox page, created a new app and checked "Full Dropbox"
No way….it doesn't work
:BangHead: