WPIntell

Source evidence

Plugin no longer works with v2 and how to fix

Ultimate LinkedIn Integration · support · 2019-05-29T17:28:00+00:00

complaintsentiment
highseverity
1.0relevance
8replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 28 rows with source links

14.3% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

24 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Robin W unresolved
this plugin stopped working, and I have had to make changes to it to get it going again – posted here to help others ! These changes the api URL to https://api.linkedin.com/v2/me to conform with V2, and take out the ‘sharing’ scope whoch is not allowed under default access (you need a partnership set-up to get this, which we don’t need!) \linkedin-login.1.1.3\linkedin-login\includes\lib\PkliLogin.php line 25 changed to const _BASE_URL = 'https://api.linkedin.com/v2/me'; around line 217 changed to `// Get first name, last name and email address, and user picture $xml = $this->oauth->get(‘ https://api.linkedin.com/v2/me’ ;) ; $xml = json_decode($xml); $email_data = $this->oauth->get(‘ https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~) )’); $email_data = json_decode($email_data); $profile_pic = $this->oauth->get(‘ https://api.linkedin.com/v2/me?projection=(id,profilePicture(displayImage~:playableStreams) )’) ; $profile_pic = json_decode($profile_pic); $locale_lastName = $xml->lastName->preferredLocale->language.’_’.$xml->lastName->preferredLocale->country; $lastName = $xml->lastName->localized->$locale_lastName; $locale_firstName = $xml->firstName->preferredLocale->language.’_’.$xml->firstName->preferredLocale->country; $firstName = $xml->firstName->localized->$locale_firstName; $data = [ ‘id’=>$xml->id, ‘first-name’=>$firstName, ‘last-name’=>$lastName, ’email-address’=>$email_data->elements[0]->{‘handle~’}->{’emailAddress’}, ‘picture-url’=>$profile_pic->profilePicture->{‘displayImage~’}->elements[0]->identifiers[0]->identifier, ]; return (object)$data;` linkedin-login.1.1.3\linkedin-login\includes\lib\class-pkli-scopes.php line 29 commented OUT //const SHARING = 'w_member_social'; \linkedin-login.1.1.3\linkedin-login\includes\lib\class-pkli-settings.php line 181 commented OUT to prevent error // Pkli_Scopes::SHARING => 'Share', This topic was modified 7 years ago by Robin W . Is this issue specific to the Share button? (Seems to still be working for me.) linked in have been enforcing their new v2 – my client site stopped working last week. it may be that yours will work – I cannot say, was just posting what worked for me to fix Hi Robin, Same issue I am facing, I am not a developer, so if possible please share text version of the file Thanks I’ll cut a version that you can download in the next coupe of days Thanks a lot – I tired but plugin showing fatal error message. ok, I’ve cut a version, try this http://www.rewweb.co.uk/ultimate-linkedin-plugin-v2/ @robin-w i installed your version and seems like I could not get Headline and Positions display in buddypress profile. Please assist thanks. sorry, I’ve not tried to do anything with buddypress – and have no idea what ‘headline and positions’ mean I don’t promise to fix – it’s not my plugin !! – but do you have a link to an example

Comments

8 shown
gdfwilliams 2019-05-29T18:12:00+00:00

Is this issue specific to the Share button? (Seems to still be working for me.)

Robin W 2019-05-29T18:28:00+00:00

linked in have been enforcing their new v2 – my client site stopped working last week. it may be that yours will work – I cannot say, was just posting what worked for me to fix

rksingh1 2019-05-31T07:19:00+00:00

Hi Robin, Same issue I am facing, I am not a developer, so if possible please share text version of the file Thanks

Robin W 2019-06-03T22:10:00+00:00

I’ll cut a version that you can download in the next coupe of days

rksingh1 2019-06-04T05:57:00+00:00

Thanks a lot – I tired but plugin showing fatal error message.

Robin W 2019-06-04T07:30:00+00:00

ok, I’ve cut a version, try this http://www.rewweb.co.uk/ultimate-linkedin-plugin-v2/

ikhwanb 2019-08-18T20:25:00+00:00

@robin-w i installed your version and seems like I could not get Headline and Positions display in buddypress profile. Please assist thanks.

Robin W 2019-08-20T17:21:00+00:00

sorry, I’ve not tried to do anything with buddypress – and have no idea what ‘headline and positions’ mean I don’t promise to fix – it’s not my plugin !! – but do you have a link to an example