linkedin

LinkedIn OAuth a required parameter “clien_id” is missing

风流意气都作罢 提交于 2019-12-05 10:55:30
Hi guys i'm working with the LinkedIn API and trying to make request but when I try to get my accesstoken i'm getting the following error in my json print: Array ( [error] => missing_parameter [error_description] => A required parameter "client_id" is missing ) this is my code: <?php $url = parse_url("https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"); parse_str($url['query'], $url); $code = $url['code']; $data = array("grant_type" => "authorization_code", "code" => $code, "redirect_uri" => "REDIRECT_URI", "client_id" => "SECRET", "client_secret" => "SECRET" ); $url2 = "https://www.linkedin

LinkedIn Login: Blocked a frame with origin “https://platform.linkedin.com” from accessing a frame with origin

心不动则不痛 提交于 2019-12-05 10:52:37
We had Login with LinkedIn code set up and working perfectly with LinkedIn Javascript SDK, where a few days ago we suddenly started to get this: Blocked a frame with origin "https://platform.linkedin.com" from accessing a frame with origin "https://OUR_SITE". Protocols, domains, and ports must match. And login does not complete (it returns from LinkedIn to our page and waits forever). I have no idea why we started to get this error when everything was working perfectly (we haven't changed a single line of code about the login mechanism, or allow origin headers/files, or LinkedIn settings etc)

how the linkedin js is a valid javascript

≡放荡痞女 提交于 2019-12-05 10:34:51
LinkedIn Javascript integration is done with: <script src="http://platform.linkedin.com/in.js" type="text/javascript"> api_key: 9XXXXXXX authorize: true </script> What I do not understand, how this is a valid javascript? How come the api_key is not quoted. ThiefMaster The body of a script tag with a src is never executed. However, the loaded script can access its contents like the contents of any other element. So it's a nice place to store metadata related to the script that was loaded. Actually, it was a nice place for it before data- attributes got introduced. Using them would be more

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

試著忘記壹切 提交于 2019-12-05 09:37:57
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 LinkedIn app so I am guessing there is not too much to be done on my side but I was hoping someone

Retrieve UGC Posts through LinkedIn V2 API got ClassCastException error

纵饮孤独 提交于 2019-12-05 09:19:43
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. I was having issues with this too, the parens on the authors query param shouldn't be encoded. I.e., try: https://api

Intermittently receiving 999 Request Denied from the LinkedIn API. What does reason code 1,2,1 refer to

a 夏天 提交于 2019-12-05 08:53:11
Intermittently, over the past two days, two different LinkedIn "apps" have started to receive 999 Request Denied errors. Along with this, I receive: "reason-code=1,2,1" as a header. Specifically, this has been captured from the 3rd step of the oAuth process (communicating with https://www.linkedin.com/uas/oauth2/accessToken ) - however making POST requests to the sharing endpoint also fails, but I've not yet captured the HTTP response code and data for those failures. These two apps are the live and test sites for the same platform, running off different servers, different IP addresses,

unable to retrieve access token linkedin api

爱⌒轻易说出口 提交于 2019-12-05 06:41:32
I am applying connect with linkedin . I'm following the step by step guide . To authenticate users, I took help from this . When the user clicks the connect with linkedin button the user is taken to the linkedin login page. After the user has given access to the account the user is redirected to: https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=1ba8ogpm9e05&scope=r_basicprofile%20r_emailaddress&state=STATE&redirect_uri=http://127.0.0.1:8088/sandbox/linkedin/test.php Through this, I get the authorization code. And pass it in the following url https://www.linkedin

Linkedin second degree connections API

青春壹個敷衍的年華 提交于 2019-12-05 02:54:29
问题 I got the linkedin authenticated user's profile information and connection details as per the codeigniter/linkedin api method.But my final need is to get the connections of my connections.The linkedin documentation says that if we have the 'r_network' permission we will get the 1st and 2nd degree connections,but I couldn't. Please suggest a solution for fetching the second degree connections.The following is my code. $profile_connections = $this->linkedin->profile('~/connections:(id,first

LinkedIn API: GET public profile from e-mail

ⅰ亾dé卋堺 提交于 2019-12-05 01:08:01
I'm using R to connect with the LinkedIn API. I'd like to pass it the email of a user and retrieve that user's public profile. I've gone through the documentation here , but have found nothing useful on the subject. I'm sure that this is somehow possible because Rapportive has been doing it for a long time. Any help would be appreciated! There are three ways to match a user's email address with a LinkedIn profile. Have a special partnership with LinkedIn which allows you access to non-public API functions. This is very hard, and per my understanding, they only consider big guys (Startups with

How to get the company id from Linkedin Company URL in PHP?

雨燕双飞 提交于 2019-12-04 23:06:00
问题 I have the Linkedin company URL as follows, http://in.linkedin.com/company/abb and the company ID for ABB limited is 277579 . Essentially you can also reach ABB through http://www.linkedin.com/company/277579 . But if I have only http://in.linkedin.com/company/abb . Is it possible to get the company ID through this URL? Does parsing the URL help? Seeking any good method to get the company ID. Is there any other way to do without using Linkedin API? Hope I am clear with my question. Any help