Нашел я его потому, что пришла пора рабтать с API LinkedIn, Facebook... До вчерашнего дня я не знал, что есть такие чудесные онлайн консоли, как apigee.com. Начал было радоваться и раскатывать губы ..., но тут же прекратил это занятие и решил взгрустнуть, так как именно сегодня linkedIn опубликовал "Changes to our Developer Program", и есть ведь у них программы BIg Data..., но "The LinkedIn Economic Graph Challenge is open to U.S. residents only" Здесь еще две враз осиротевшие ссылки на страницы с python-linkedin 4.0, Authenticating with OAuth 2.0
Test and explore the LinkedIn API without OAuth getting in the way. http://app.apigee.com/console/linkedin
Changes to our Developer Program
inkedIn Launches Sponsored Updates API and Partner Programs
Big Thinkers. Big Data. Big Opportunity: Announcing The LinkedIn Economic Graph Challenge
python-linkedin 4.0
Authenticating with OAuth 2.0
:00at Apogee we strive to make API's better one way we do that is by making it
0:05easier to learn
0:06explore and test an API using our API Council
0:09it's like /url and the clout on steroids
0:12and today we're launching support for LinkedIn's API
0:15all the resources that represent the API's methods
0:20are listed on the left hand side clicking one of them will update
0:26the request box where you can figure it your needs
0:30looks like this method requires authentication so I'll
0:33of rice have to do with like 10
0:43and brings me back to the council and now I can make the authenticated request
0:48when you wanna just quickly test something out
0:51of can get in the way with Apogee you just offer us the council was like 10
0:56and it uses your credentials to sign calls now getting started is a snap
1:01stride other search for people who work at Apogee
1:16to make it easier to read happen she applies the syntax highlighting to their
1:20spots
1:20the FBI consul exposes the whole surface at the lectern API
1:26just like the Firefox Awesome Bar you can just start typing
1:29and all the matching API methods magically appear for instance
1:33if I want to get the updates right at Barcade just take updates
1:37or network
1:47and I pic the 1i need and off I go if you want to post an update from the
1:51console you can do that
1:53for major Heep verbs are supported get post put
1:57and early pick the one you need and off you go any control over things at the
2:02perk up the pressure level
2:04for the headers the body you can at those things through the advanced
2:07options
2:12lastly
2:14Apogee can create a snapshot for any request/response pair
2:17hugh make the Consul you take that like and share with others
2:24and then make tea what you saw
2:29let us know what you build with the new LinkedIn API counsel for Apogee
Теперь на запрос, котрый рассматривается в видео выдается 401 ответ "ошибка авторизации"¶
HTTP/1.1 401 Unauthorized
WWW-Authenticate:
OAuth realm="https://api.linkedin.com"
x-li-format:
json
X-LI-UUID:
QzzLVSRr3ROQ0Rlo7ioAAA==
Content-Length:
142
X-Li-Fabric:
prod-lva1
x-li-request-id:
4RV3CCRXU3
Set-Cookie:
lidc="b=VB45:g=217:u=1:i=1431418060:t=1431504460:s=AQHZDyEtWxYzH0PhB4vs9vgawikJ5uk-"; Expires=Wed, 13 May 2015 08:07:40 GMT; domain=.linkedin.com; Path=/
X-Li-Pop:
prod-lva1
Connection:
keep-alive
Server:
Apache-Coyote/1.1
Date:
Tue, 12 May 2015 08:07:39 GMT
Vary:
*
Content-Type:
application/json;charset=UTF-8
{
"errorCode": 0,
"message": "Unknown authentication scheme",
"requestId": "4RV3CCRXU3",
"status": 401,
"timestamp": 1431418060382
}
А это слабое утешение, как люди живут после первого этапа конкурса "The LinkedIn Economic Graph Challenge"¶
Посты чуть ниже также могут вас заинтересовать
Комментариев нет:
Отправить комментарий