【问题标题】:Unable to intregrate Dropbox in Windows phone 8.1无法在 Windows phone 8.1 中集成 Dropbox
【发布时间】:2014-11-06 16:55:26
【问题描述】:

我正在尝试在我的应用中集成下拉框。 由于 Dropbox 没有为 windows phone 或 .net 提供 anhy api,我选择了 springframeworkThirdparty 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)变量

【问题讨论】:

  • 谁能帮帮我
  • @crea7 或者根据你的说法,app key 是 accessToken 而 app secret 是 accessToken Secret ...这就是你的意思吗??

标签: c# spring windows-phone-8 windows-phone-8.1 c#-5.0


【解决方案1】:

accessTokenaccessTokenSecretcan take here 的应用程序范围值。 consumerKeyconsumerSecret 访问指定用户帐户的用户密钥(在 DropBox 服务中授权后)。

【讨论】:

  • 所以应用程序密钥是 accessToken 而应用程序秘密是 accessToken 秘密......这就是你的意思吗??
  • 是的,试试这个方案。
猜你喜欢
  • 2015-04-19
  • 2015-06-15
  • 1970-01-01
  • 1970-01-01
  • 2023-04-03
  • 1970-01-01
  • 2016-03-23
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多