linkedin

Wrong image displayed by LinkedIn Open Graph

半城伤御伤魂 提交于 2019-12-04 04:48:00
问题 I'm trying to share http://gbgtechweek.com/ on my LinkedIn profile. I have this meta tag: <meta property="og:image" content="http://gbgtechweek.com/img/gbgtechweek_img.png" /> However, LinkedIn chooses to show another image from the page (http://gbgtechweek.com/img/goteborg00.jpg) Is this because of the size, and how do I fix it? I tried to update by using "?!" in the end, so LinkedIn would re-fetch the Open Graph data, but didn't work. Any solutions? 回答1: LinkedIn (shockingly and sadly!)

How to validate a LinkedIn public profile url

。_饼干妹妹 提交于 2019-12-04 03:49:47
I am looking for a way to validate a link to make sure that it is pointing to a LinkedIn public profile page in PHP. I have a website and I would like my users to be able to share their LinkedIn profile in their profile on my website. Try something like this where $username is the linked-in username. You also can set $profileurl directly to the link given and verify with str_pos that is starts with http://www.linkedin.com/in/ $profileurl = "http://www.linkedin.com/in/".$username; $fp = curl_init($profileurl); $response = curl_exec($fp); $response_code = curl_getinfo($fp, CURLINFO_HTTP_CODE);

Search people with Linkedin API

你离开我真会死。 提交于 2019-12-04 03:40:46
I noticed that using LinkedIn REST API in my application, i have a strange behaviour (I'm using Bill Gates as example, but it works like this for every name) 1st REST url request: http://api.linkedin.com/v1/people-search:(people:(id))?first-name=bill&last-name=gates returns 110 results 2nd REST url request: http://api.linkedin.com/v1/people-search:(people:(id))?keywords=bill%20gates returns 0 result But, according to API documentation (https://developer.linkedin.com/documents/people-search-api), the second search should return at least the 110 "bill gates" returned with the former request,

How to clear the cache of LinkedIn sharer manually

烈酒焚心 提交于 2019-12-04 03:02:59
问题 At using share function via LinkedIn API, one and the same picture is transfered for each page of the website http://hrm.mysitedemo.co.uk The picture is cached on the server. The address of this picture on server is: link Address that leads to share dialog window is : link Could you please tell how to to clear the cache manually? 回答1: Content shared via LinkedIn is cached by LinkedIn's servers for a period of ~7 days. There is presently no way to manually clear the cache other than waiting

LinkedIn share callback Javascript SDK/API v2

▼魔方 西西 提交于 2019-12-04 03:02:05
问题 I am trying to share content through the LinkedIn JavaScript SDK. But LinkedIn just updated their API and I cannot figure out how to: share a URL inside a popup and get a callback on a successful share. With the old LinkedIn share plugin you had something like this: https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/plugins/share-plugin <script src="//platform.linkedin.com/in.js" type="text/javascript">lang: en_US</script> <script type="IN/Share" data-url="https://www

how to get companies id from linkedin jsapi

允我心安 提交于 2019-12-04 02:29:50
问题 i was trying to get companies id from linkedin using jsapi,iam using below url "/company-search:(companies:(id,name))?keywords=ibm%20oracle%20infosys" i got ids of some other companies {"companies": { "_count": 10, "_start": 0, "_total": 1079, "values": [ { "id": 6005, "name": "Sonata Software" }, { "id": 5983, "name": "QLogic" }, { "id": 39626, "name": "Prosoft Technology Group" }, { "id": 6290, "name": "BCC" }, { "id": 23367, "name": "Goldstone Technologies" }, { "id": 36655, "name":

How to get company logo from Linkedin API?

淺唱寂寞╮ 提交于 2019-12-04 00:40:27
I made a mock company profile on Linkedin & have uploaded two images (see screenshot at bottom of question) and I'm trying to get the second image (large). I can get the first image using both the logo-url and square-logo-url from the list of Company Profile fields in the Linkedin docs. The info I get back looks like this: { 'logoUrl': 'https://media.licdn.com/mpr/mpr/AAEAAQAAAAAAAAagAAAAJDMwYzRhOGVmLWU3MzUtNGUyNi05YTgzLWU3MzVhOGViNGYyZA.png', 'squareLogoUrl': 'https://media.licdn.com/mpr/mpr/AAEAAQAAAAAAAAS6AAAAJDI4ODQ4NTgxLTQzZGQtNDEzZi1iZjIwLWNiNDgxZTk2NmE5ZA.png', 'description': "Bla bla",

HTTP 500 response using v1 linkedin companies shares api

孤街浪徒 提交于 2019-12-03 22:12:46
问题 It's been 2 days that trying to post content through LinkedIn API for a specific company page is failing with "Internal service error". Strangely, it only happens to this specific company page (id: 10684715) not any other company pages we post to! the code is in php. I have checked the company page to see if there is any information that helps and could find nothing. Also, posting the same content directly to LinkedIn works but not through API. Same code and similar requests worked previously

Message preview is different depending on LinkedIn profile

不想你离开。 提交于 2019-12-03 21:10:52
My company uses LinkedIn Share API to publish messages on LinkedIn profiles sharing content from WordPress posts. One thing that is driving me crazy right now is that when I share the same URL and content to two different profiles, the preview cards that result from that are different. On one profile I got a full image preview like the following: But the same content (same API params to share) produce this different preview: I'm trying everything I can to get a consistent behavior. I'd like to have all previews being full size previews like the one shown in the first screenshot. API

LinkedIn historical-follow-statistics API for current day does not match current follower count

邮差的信 提交于 2019-12-03 20:31:06
Hitting the Historical Follower Count API documented at https://developer.linkedin.com/docs/company-pages#historical_followers URL is: https://api.linkedin.com/v1/companies/{id}/historical-follow-statistics?time-granularity=day&start-timestamp=1501718400000&end-timestamp=1501718400000&format=json Those timestamps are both for today. Response is: [ "_total" => 1, "values" => [ [ "organicFollowerCount" => 932, "paidFollowerCount" => 84, "time" => 1501718400000.0, "totalFollowerCount" => 1016, ], ], ] But the actual current follower count on the Company's page is 1009 Which of these number is