I tried to build a Windows Phone app using Sharpbox. I followed the code sample given in Nokia Developer (http://www.developer.nokia.com/Community/Wiki/Dropbox_with_Windows_Phone
However, I am unable to get a valid token in LoginCallback() func, token returned is null.
From the IAsyncResult in LoginCallback(), the token and configuration member contains valid value, but I found that there is an exception in result.AsyncState.OpenResult.errorResult ---- (System.UnauthorizedAccessException: Attempted to perform an unauthorized
I tested my token.txt by the given TokenGenerator.exe, and it can return the root correctly.
Can anyone give me a helping hand??