微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

ruby-on-rails – 哪里可以获取Salesforce API for Rails 3.2.11的client_id和client_secret

我一直在追踪: http://wiki.developerforce.com/page/Accessing_Salesforce_Data_From_Ruby的教程

但是,我被困在你需要提供钥匙的部分:

host: login.salesforce.com        # Use test.salesforce.com for sandBox
client_secret: 1234567890         # This is the Consumer Secret from Salesforce
client_id: somebigidthinghere     # This is the Consumer Key from Salesforce
sobject_module: SFDC_Models       # See below for details on using modules
debugging: true                   # Can be useful while developing
username: me@mycompany.com
password: mypasswordplusmysecuritytoken

在哪里可以获取client_secret和client_id. Salesforce的官方API网站的教程是过时的. http://www.salesforce.com/us/developer/docs/api_rest/index.htm

还有一些其他教程甚至没有提到哪里可以得到它.

我已经在http://developer.force.com/创建了一个帐户

甚至创建一个自定义的应用程序,如果我错了,纠正我.

然后不知道在哪里找到我需要的钥匙.

任何解决方法将不胜感激.

解决方法

当您登录developer.force.com时,在左侧导航栏中
Build -> 
  Create ->
    Apps

页面底部具有“已连接的应用程序”.点击“新建”添加您创建的应用程序.您将设置您的回调网址,描述等.一旦您保存,您将看到您的消费者ID和秘密.

原文地址:https://www.jb51.cc/ruby/265954.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐