linkedin

How to fetch Linkedin user data?

吃可爱长大的小学妹 提交于 2019-11-28 10:15:03
问题 I am using Linkedin API to fetch user content in RoR project. I am following this blog. Here is controller code: Basic profile (which works fine) client = get_client profile = client.profile(:fields => ["first-name", "last-name", "maiden-name", "formatted-name" ,:headline, :location, :industry, :summary, :specialties, "picture-url", "public-profile-url"]) Experience and Positions: client = get_client positions = client.profile(:fields => [:positions]).positions.all For Educations: client =

permission error while making ugc video post on linkedin

懵懂的女人 提交于 2019-11-28 10:03:15
I am trying to create video post on linkedin with new ugc endpoint there are two steps to create this type of post 1). Upload video asset on linkedin server (done) 2). make post request to ugc endpoint with request body I have successfully uploaded the video but getting authentication error for ugc post request. error is { "message": "urn:li:developerApplication:<id1> does not have permission to create ugc posts with author: li:member:<id2>", "status": 401 } I am passing the request body as suggested in the linkedin api docs. { "author": "urn:li:person:<id>", "lifecycleState": "PUBLISHED",

CORS blocks LinkedIn share api

大城市里の小女人 提交于 2019-11-28 07:48:40
问题 I try to post new content using LinkedIn share API through JavaScript from AngularJS application as given below. var xml = "<share><comment>" + content + "</comment><visibility><code>anyone</code></visibility></share>"; var req = { method: 'POST', url: 'https://api.linkedin.com/v1/people/~/shares?oauth2_access_token=' + account.token, headers: { 'Content-Type': 'text/plain' }, data: xml }; $http(req).success(function(data) { console.log(data); console.log('published to linkedin'); }).error

How can I list two Linkedin Follow Buttons in a Twitter Bootstrap Dropdown

梦想的初衷 提交于 2019-11-28 06:46:33
问题 I have been messing with this for awhile... http://jsfiddle.net/ravenna/GFydL/7/ <div class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown trigger</a> <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> <li>Test</li> <li> <script type="IN/FollowCompany" data-id="621453" data-counter="right"></script> </li> </ul> </div> What I have is multiple drop-downs that each represent a user profile. If the user has a Linkedin Profile on file with us then a

How can I open Linkedin application from my android app?

大兔子大兔子 提交于 2019-11-28 03:56:41
问题 I open facebook and twitter profile easily from my android application like this: if (facebookId != null) { try { long longFacebookid = Long.parseLong(facebookId); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setClassName("com.facebook.katana", "com.facebook.katana.ProfileTabHostActivity"); intent.putExtra("extra_user_id", longFacebookid); startActivity(intent); return; } catch (ActivityNotFoundException e) { e.printStackTrace(); } catch (NumberFormatException e) { e.printStackTrace

How to make a custom LinkedIn share button

让人想犯罪 __ 提交于 2019-11-28 03:03:39
I need to be able to add sharing functionality to my custom buttom. I'm not interested with their generator , as I can't change linkedin image there. I want to use my own image for the LinkedIn share button. Official LinkedIn API for sharing: https://developer.linkedin.com/docs/share-on-linkedin Read Terms of Use! Example link using "Customized URL" method: http://www.linkedin.com/shareArticle?mini=true&url=https://stackoverflow.com/questions/10713542/how-to-make-custom-linkedin-share-button/10737122&title=How%20to%20make%20custom%20linkedin%20share%20button&summary=some%20summary%20if%20you

Angular 2: EXCEPTION: Response with status: 0 for URL: null

妖精的绣舞 提交于 2019-11-28 02:39:01
问题 I am trying to send a HTTP GET request from my Angular2/ionic2 app using http.get . The HTTP GET request contains a valid Linkedin access token and is supposed to return some profiledata. However, the following error occurs when getProfileData() is called: 3 229881 group EXCEPTION: Response with status: 0 for URL: null 4 229895 error EXCEPTION: Response with status: 0 for URL: null 5 229909 groupEnd 6 229950 error Uncaught Response with status: 0 for URL: null, http://192.168.178.49:8100

How can I integrate LinkedIn within an iPhone application?

浪子不回头ぞ 提交于 2019-11-28 01:17:27
I need your help to know regarding integrating linkedin with my iPhone Application. I do Googling and am able to create an API for LinkedIn. Using link . But since I am newbie, I stop here. I have both API Key and Secret Key, But I don't know how do I use it to make it Successful in iPhone Application. So it's my request to you all to suggest me proper way. Maybe I will learn something new from you. For other folks looking for sample iPhone applications for LinkedIn, I wrote a sample client which is on GitHub (which was presented at the Silicon Valley iOS Meetup last year): https://github.com

Keep url encoded while using URI class

最后都变了- 提交于 2019-11-27 23:47:10
I'm trying to get public profile information from LinkedIn. To achieve this I have to provide http://api.linkedin.com/v1/people/url=public-profile-url , where public-profile-url MUST be URL encoded. The issue is that .NET classes such as HttpClient, WebRequest etc use Uri class which seems to "canonize" the provided URL, so that I can't get the proper formatted request sent. The URI must be: http://api.linkedin.com/v1/people/url=http%3a%2f%2fwww.linkedin.com%2fin%2fiftachragoler but is: http://api.linkedin.com/v1/people/url=http://www.linkedin.com/in/iftachragoler In this way, I get 'Bad

Basic Example of Client Side Templating with Dust.js

落爺英雄遲暮 提交于 2019-11-27 21:11:26
问题 This is my first foray into client-side templating and I want to make sure I'm understanding it and using it correctly. After reading this LinkedIn engineering blog, I decided to go with dust.js rather than mustache or handlebars. Note that this stackoverflow post answered many of my questions, but I still have a few things I want to clarify. In the environment I work in I have no access to anything on the server side, so everything I create has to be able to run entirely in the client's