Topic-icon Importing profile data from Linkedin...

Active Subscriptions:

None
12 years 2 months ago #42682 by petkal
Hello and thanx for a great and intuitive product!

Although I wonder why i can't import info such as language skills, honors, publications etc from an linked in profile.
I've spent hours trying to figure out why this fails. The information is there in my "dummy" profile in linked in.


I use joomla 3.2.3 and Jfbconnect 6.0.3

Thanx in advance
The topic has been locked.
Support Specialist
12 years 2 months ago #42690 by alzander
I'm not sure why that wouldn't import. Can you let me know a URL where we can try to register an account and see if our data properly pulls in?

Also, can you let us know:
* What extension are you importing the information into
* Does other information properly pull in (the email address or other profile info)?

Finally, please post from the account you subscribed to JFBConnect to. It helps us manage and track support easier.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 2 months ago #42702 by petkal
Hi!

First of all, the account is helt by my manager so i can't access it.
I also failed to mention that we use the custom db profile.

The url to the site is:
mfcg.se/mfcjobb (it's in swedish...)
The linked in url i've been testing with:
www.linkedin.com/pub/artep-artep/93/689/83a

I receive about 60% of the profile data from linked in, you'll find them attached.
The target of the linked in data is a cv-database and component is called JsJobs.
In order to elimenate any component failures i created a specific table dedicated to the linkedin data.
Also, there are no problems what so ever to pull any Facebook data.

database-table.pdf

Best regards, Petra
The topic has been locked.
Active Subscriptions:

None
Any update on the linked in profile info issue?
My Employee has verified that the info is available through the API using the oAuth console and successfully read out info such as language and language skills.

Best regards Mario F
The topic has been locked.
Support Specialist
12 years 1 month ago #43249 by alzander
Sorry for the delayed response. We're looking into the issue now. It seems LinkedIn has updated how some of the fields need to be retrieved. We've fixed the language field, and it's something you can test with using the code change below. We'll have to go through all the fields to see how they may have changed, but if you can list out other fields that aren't working for you, that may make things go a bit quicker.

To fix language, please edit the /components/com_jfbconnect/libraries/profile/linkedin.php file. Around line 414 you'll see:
if (isset($element->language[$index]))
        {
            $language = $element->language[$index];
            $newValue = $language->name;
        }
Update that block to:
if (isset($element->values->$index))
        {
            $language = $element->values->$index->language;
            $newValue = $language->name;
        }
There will likely have to be similar changes to all of the other fields that aren't working. The changes shouldn't be too difficult, we'll just have to determine the changes for each.

I hope that helps get you started, and we should be able to get things going for you soon.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 1 month ago #43336 by petkal
Hi and thanx!

The languages are now in place, but not the level of knowledge.
I've compiled a list of all entries listed in jfbconnect together with what's actually retrieved. Some stuff is no longer applicable since it seems to have been removed from linked in. All is listed with comments. I haven't been able to test the twitter entries since i don't have a twitter account.

Best regards, Petra

liprof.docx
The topic has been locked.
Support Specialist
12 years 1 month ago #43545 by alzander
I wanted to update you and let you know that JFBConnect v6.0.5 was just put in the downloads area. It should fix many of the LinkedIn profile fields. There likely will still be some fields that won't import, but we'd love your feedback on the changes to let us know if we're going in the right direction. We've done a bit of testing and also added new tasks for us to allow breaking out some of the fields better.. right now, the values come back in a pretty hard-coded fashion. We'd like to make it more configurable so you can format the field data however you want, but that won't be until a future release.

Keep me posted, and if you have any suggestions, feedback or other issues, just let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 1 month ago - 12 years 1 month ago #43564 by petkal
Cheers, that's brilliant!
Still some fields missing and also there is no way to store phone number now, if it is selected for storage in the customdb it causes a crash. please see below.
Also, thanks a lot for sorting out the skills field! I've got lots of ideas of what i would love to get from linked in. I'll get back on that next week.

I've attached a document with all info fetched now.

Not working:
- Phone Number - 0 - Summary - Fatal error: Cannot access empty property in /home/userA/a1319400/public_html/MFCJOBB.se/components/com_jfbconnect/libraries/profile/linkedin.php on line 592
- Full Info - Associations - Empty
- Basic Info - Specialties - Empty

Best regards, Petra

liprof-ver-6-05.docx
Last edit: 12 years 1 month ago by petkal.
The topic has been locked.