我正在尝试在我的应用程序中集成投递箱。 由于 Dropbox 没有为 Windows Phone 或 .net 提供 anhy api,我选择了 springframework第三方API。
根据那里documentation
string consumerKey = "..."; // The application's consumer key
string consumerSecret = "..."; // The application's consumer secret
string accessToken = "..."; // The access token granted after OAuth authorization
string accessTokenSecret = "..."; // The access token secret granted after OAuth authorization
IDropbox dropbox = new DropboxTemplate(consumerKey, consumerSecret, accessToken, accessTokenSecret, AccessLevel.Full);
DropBoxTemplate() =>
IDropbox dropbox = new DropboxTemplate(consumerKey, consumerSecret, accessToken, accessTokenSecret, AccessLevel.Full);
采用以下参数:
consumerKey //i am asuming it is appKey
consumerSecret //i am asuming it is appSectret
这两个是我在 dropbox.developer 网站创建应用程序时知道的
but i dont Know the other two ,that is :
accessToken //Generated on call of access_Token_Request i guess
accessTokenSecret //Generated on call of access_Token_Secret_Request i guess
我的问题是如何在 Windows Phone 的 C# 中获取/分配其中两个变量(accessToken 和 accessTokenSecret)
最佳答案
accessToken
和 accessTokenSecret
您 can take here 的应用程序范围值。 consumerKey
和 consumerSecret
访问指定用户帐户的用户 key (在 DropBox 服务中授权后)。
关于c# - 无法在 Windows Phone 8.1 中集成 Dropbox,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26773232/