我已经浏览了 Linkedin gem(https://github.com/pengwynn/linkedin)。当我尝试访问公共配置文件时,它工作正常。比如说(http://www.linkedin.com/pub/dinesh-ramasamy/19/a3a/922)
但我无法访问 CT、TCS 等公司资料。比如说(http://www.linkedin.com/company/1680)
谁能帮帮我?
我已经浏览了 Linkedin gem(https://github.com/pengwynn/linkedin)。当我尝试访问公共配置文件时,它工作正常。比如说(http://www.linkedin.com/pub/dinesh-ramasamy/19/a3a/922)
但我无法访问 CT、TCS 等公司资料。比如说(http://www.linkedin.com/company/1680)
谁能帮帮我?
在您对客户端进行身份验证后,您可以使用以下内容根据来自linkedin 的 company_id 获取所有公司字段。您也可以使用 linkedin 通用名称来请求公司信息,而不是使用 id。
company_data = client.company(:id => company_id, :fields=>["universal-name","email-domains","company-type","ticker","website-url","industries"," status","logo-url","square-logo-url","blog-rss-url","twitter-id","employee-count-range","specialties","locations","description" ,"证券交易所","成立年份","年底","追随者人数"])