加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-16 22:30:47 所属栏目:百科 来源:网络整理
导读:我一直在追踪: http://wiki.developerforce.com/page/Accessing_Salesforce_Data_From_Ruby的教程 但是,我被困在你需要提供钥匙的部分: host: login.salesforce.com # Use test.salesforce.com for sandboxclient_secret: 1234567890 # This is the Consum
我一直在追踪: 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和秘密.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读