Topic-icon customdb plugin is not reading all available fields from LinkedIn

Active Subscriptions:

None
Hi Alex,

I know that the LinkedIn connector has changed and is now limited to a few fields only. One of these fields which are still availble is the profile picture. So we have configured the customdb plugin accordingly. But the picture is not imported and we cannot find out why this is the case.

Could you please check?

Thanks and regards,
Uwe
File Attachment:
The topic has been locked.
Support Specialist
I'm sorry for the delayed response.

With a recent update to JFBConnect, we changed how the profile fields are configured in the extension so that they are fetched through Autotune. This allows us to update fields and on our server side without requiring us to release a new version of the extension.

From the fields you show above, it doesn't look like you're fetching the latest available fields. Either you're using an older version of JFBConnect or you haven't run Autotune recently. I'd recommend running Autotune again, specifically the Network Settings step.

Unfortunately, the latest version of our profile fields does not let you pull the Profile URL or profile Image directly into a profile field. That was something we removed, though I believe it was an accidental removal. We'll have to look into how to properly add it back in, but for now, it's not available.

I hope that helps explain the issue. I've added this item to our issue tracker and we'll try to get to the bottom of it as soon as possible.

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

None
Hi Alex,

I have just run Autotune. Now it is not possible anymore to chose any picture at all into JFBConnect. As you said this is probably because you have accidentially removed this function. For us it is essential to have the picture within JFBConnnect as we pull it from there and use it in another component. So I would appreciate very much if you could prioritize this fix.

Thanks and regards,
Uwe
The topic has been locked.
Support Specialist
Were you using another profile plugin to import the picture? In your image above, you show that you were importing "Profile Picture URL". You mentioned originally that wasn't working... but it sounds like some form of picture import was working.. can you explain more about all the features you're using and how so we can understand and investigate further?

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

None
Hey Alex!
We work with Uwe on his website,
We use JFB Custom DB plugin for importing Linkedin data to new created table _jfb_profiles.
Next we pull this data to our component which creating Social Profile using JFB data.
It is very important to use the same picture as on LinkedIn. Is strange to us because in profile_map images are binded without any problems.
It worked prior to 1 May change, and then suddenly stopped,
we could do it other way round and pull the image from the user maps where the profile image show up, but the earlier method (as described above) worked before the API change.
Let me know if you need any more details, thanks, cheers
The topic has been locked.
Support Specialist
If you'd like a workaround (if you don't want to wait for a release), do the following steps:

1. Fetch the network settings in Autotune again

2. Re-map the field in the Customdb mapping area

3. In /components/libraries/profile/linkedin.php, at line 102 after the catch block, add the following code:
if (in_array('picture-url', $fields))
{
   $avatarUrl = $this->getAvatarUrl($this->provider->getProviderUserId());
   $profile->set('pictureUrl', $avatarUrl);
}

This should then retrieve the avatar URL to the mapped field. If you do the above and still have problems let us know.

-Melissa
The topic has been locked.