Adding company info
-
I notice that in the get_linked_in function you request the company for each position
$xml = simplexml_load_string($this->oauth->get('https://api.linkedin.com/v1/people/~:(id,first-name,last-name,email-address,headline,specialties,positions:(id,title,summary,start-date,end-date,is-current,company),summary,site-standard-profile-request,picture-url,location:(name,country:(code)),industry)'));But in update_user_data you don’t store the company.
foreach ($xml->positions->position as $position) { $user_positions[] = array('title' => (string) $position->{'title'}, 'summary' => (string) $position->{'summary'}); }If I were to submit a patch that stored the full data for the position, would you take it?
-
This topic was modified 8 years, 5 months ago by
Steven Stern (sterndata).
-
This topic was modified 8 years, 5 months ago by
Steven Stern (sterndata).
-
This topic was modified 8 years, 5 months ago by
-
Hey Steve,
Sorry for the late reply, we’re more active on our Github repository. We would certainly take it, please submit your patch.
@ptomblin – https://github.com/arbet/wordpress-linkedin-login/pull/34 – I’ve created a PR that adds company name to saved data.
Hi,
Your plugin seems very interesting!
Have you yet integrated the patch (above) ?
Thank you
The topic ‘Adding company info’ is closed to new replies.