[英]Scribe-LinkedIn Search API
I want to fetch data from the LinkedIn API for that I am using the Scribe library.All requests are giving me data as expected but when I tried two facet in the url then scribe is not able to get data from LinkedIn API. 我想从Scribe库中获取LinkedIn API的数据,所有请求都按预期方式提供了我的数据,但是当我在url中尝试了两个方面时,抄写员无法从LinkedIn API中获取数据。 If I gave this URL : http://api.linkedin.com/v1/people-search?facets=location,network&facet=location,in:0 then it gives me proper result
如果我给出以下URL: http : //api.linkedin.com/v1/people-search?facets=location,network&facet=location,in:0,那么它给了我适当的结果
but if I entered this URL: http://api.linkedin.com/v1/people-search?facets=location,network&facet=location,in:0&facet=network,F ie URL containing multiple facets then it gives me this output: 但是,如果我输入以下URL: http : //api.linkedin.com/v1/people-search? facets=location,network&facet=location,in:0&facet=network, F即包含多个构面的URL,则它给出以下输出:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<error>
<status>401</status>
<timestamp>1292487039516</timestamp>
<error-code>0</error-code>
<message> [unauthorized].OAU:CiEgwWDkA5BFpNrc0RfGyVuSlOh4tig5kOTZ9q97qcXNrFl7zqk- Ts7DqRGaKDCV|94f13544-9844-41eb-9d53-8fe36535bbc3|*01|*01:1292487039:VseHXaJXM2gerxJyn6kHhIka7zw=</message>
</error>
Any kind of help to solve this will be appreciated.Thanks. 任何解决该问题的帮助将不胜感激。
When I saw that there is no help available so I decided to fix this bug of Scribe library and I am able to fixed that bug by modifying code.The modified code of Scribe is here .You can see as well as you can take checkout. 当我看到没有可用的帮助时,我决定修复Scribe库的错误,并且能够通过修改代码来修复该错误.Scribe的修改后的代码在这里 。您可以看到并可以签出。 And if you want to use that code then you need to just create its jar and add it to your projects build path.
而且,如果要使用该代码,则只需创建其jar并将其添加到项目的构建路径即可。
I created a plugin for Play Framework to easily integrated with LinkedIn's OAuth: geeks.aretotally.in/projects/play-framework-linkedin-module. 我为Play Framework创建了一个插件,可以轻松地与LinkedIn的OAuth集成:geeks.aretotally.in/projects/play-framework-linkedin-module。 Hopefully it can help.
希望它能有所帮助。 You should def check out Play, very very cool Java framework.
您应该定义出Play,非常非常酷的Java框架。 It's based on Scribe.
它基于抄写员。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.