【发布时间】:2014-11-06 16:55:26
【问题描述】:
我正在尝试在我的应用中集成下拉框。 由于 Dropbox 没有为 windows phone 或 .net 提供 anhy api,我选择了 springframeworkThirdparty API。
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)变量
【问题讨论】:
-
谁能帮帮我
-
@crea7 或者根据你的说法,app key 是 accessToken 而 app secret 是 accessToken Secret ...这就是你的意思吗??
标签: c# spring windows-phone-8 windows-phone-8.1 c#-5.0