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和秘密.

相关文章

validates:conclusion,:presence=>true,:inclusion=>{...
一、redis集群搭建redis3.0以前,提供了Sentinel工具来监控各...
分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣...
上一篇博文 ruby传参之引用类型 里边定义了一个方法名 mo...
一编程与编程语言 什么是编程语言? 能够被计算机所识别的表...
Ruby类和对象Ruby是一种完美的面向对象编程语言。面向对象编...