linkedin

linkedin connect API gives error 401 - iphone

≯℡__Kan透↙ 提交于 2019-12-07 14:48:13
问题 hi i am sending connect invitation by email using linkedin iphone api Request xml: <?xml version='1.0' encoding='UTF-8'?> <mailbox-item> <recipients> <recipient> <person path="/people/email=%@"> <first-name>%@</first-name> <last-name>%@</last-name> </person> </recipient> </recipients> <subject>Invitation to Connect</subject> <body>Please join my professional network on LinkedIn.</body> <item-content> <invitation-request> <connect-type>friend</connect-type> </invitation-request> </item-content

Using oauth2_access_token to get connections in linkedIn

China☆狼群 提交于 2019-12-07 12:15:47
问题 I'm trying to get the connections in linkedIn using their API , but when I try to retrieve the connections I get a 401 unauthorized error. in the official documentation says You must use an access token to make an authenticated call on behalf of a user Make the API calls You can now use this access_token to make API calls on behalf of this user by appending "oauth2_access_token=access_token" at the end of the API call that you wish to make. The API call that I'm trying to do is the following

New LinkedIn permissions: accessing past positions and educations using rails LinkedIn gem

送分小仙女□ 提交于 2019-12-07 11:57:11
问题 Linkedin recently updated their API, making it less restrictive in terms of what you can access in some cases but generally more explicit in terms of how you must access it. In particular, you must request specifically what data you want in the omniauth builder: Rails.application.config.middleware.use OmniAuth::Builder do provider :linkedin, "consumer_key", "consumer_secret", :scope => 'r_fullprofile r_emailaddress r_network', :fields => ["id", "email-address", "first-name", "last-name",

How to retrieve the list of positions including all the fields using the LinkedIn javascript sdk?

江枫思渺然 提交于 2019-12-07 11:19:25
问题 I want to get the id, title, summary, start-date, end-date, is-current and company name for each position that a LinkedIn member has entered on its profile. I tested a query on the REST Console and I got the desired result. The query is "https://api.linkedin.com/v1/people/~/positions:(id,title,summary,start-date,end-date,is-current,company)?format=json". The problem is that when I try to do the same thing using the LinkedIn javascript SDK I'm not getting the whole list of fields for each

How to Login with linkedin using javascript and display profile information

谁说胖子不能爱 提交于 2019-12-07 10:13:30
问题 I want to integrate Linkedin login using javascript. I searched for that and get relevant results. But lot of search results says that below code: <script type="in/Login"> </script> is used to create sign-in button. But i want to use my own custom button and call a function on "onClick" event in my HTML. Help in correct direction. My code : function linkedinLogin(){ console.log('linkedinLogin called'); var src="http://platform.linkedin.com/in.js" api_key: 'XXXXXXXXXXXXXXXX' authorize: true

Is it possible to build an application for the LinkedIn platform?

烂漫一生 提交于 2019-12-07 06:24:24
问题 Do you know if it's possible to build an application for the LinkedIn platform? 回答1: While LinkedIn has promised a public API for a very long time now, they have yet to deliver. No, there is no public LinkedIn API yet. IMO, their widgets (which there are only two of at the moment, which are very limited) don't count. They say that they are open to being contacted with specific uses for their API and they may give access to parts as needed - but that is if they accept your ideas for

Linkedin iOS SDK: Wrong style on authorization screen when profile photo is empty

拥有回忆 提交于 2019-12-07 05:46:51
问题 We are using LinkedIn sdk to authorize an iOS mobile application access to the user's LinkedIn profile. App's made using Xamarin. Native LinkedIn sdk is binded so it should work the same way. In case LinkedIn profile photo is empty, when the app is opened by the sdk to ask for authorization, styles are wrong. The text indicating the app who's asking for permission is missing and the allow/cancel buttons seem to be moved to the left (see arrow in the image) This seems to be happening inside

Retrieve UGC Posts through LinkedIn V2 API got ClassCastException error

北城余情 提交于 2019-12-07 05:40:50
问题 I'm trying to retrieve a list of UGC posts by calling the following API https://api.linkedin.com/v2/ugcPosts?q=authors&authors=List%28urn%3Ali%3Aorganization%3A[ORG_ID]%29 [ORG_ID] is id of my organization. Then I got this error { "serviceErrorCode": 0, "message": "java.lang.ClassCastException: java.lang.String cannot be cast to com.linkedin.data.DataComplex", "status": 500 } I've already authorized to use API V2 and include X-Restli-Protocol-Version:2.0.0 in the header. 回答1: I was having

LinkedIn not picking up og:image

跟風遠走 提交于 2019-12-07 05:09:46
问题 For one of my websites I am using Open Graph to enrich posts shared from my website. But LinkedIn is not picking the image specified in og:image. The image is modified for the LinkedIn bot to be 200px X 200px by a simple PHP script. I found some experiencing a similar problem (Linkedin not getting thumbnail image) but this problem is not yet solved. 回答1: I know it's old but this helped. Linkedin caches link preview content for 7 days. You have to do the following to clear Linkedin Preview

Linkedin API - get company ID from url

给你一囗甜甜゛ 提交于 2019-12-07 05:02:27
问题 Is there a way to get the numeric company id from the url of a company page on Linkedin? This id is the one I'll use to query the Linkedin API and get more information on the company. I need to get the id from the information provided with the URL, to use it to get the rest of the information related to the company page. It seems unusual to me that you need to dig in the HTML code to get the company ID you need to use to interact using the Linkedin API, so correct me if I'm wrong. I know