Add support for LinkedIn company

Created on 15 September 2020, over 4 years ago
Updated 16 May 2023, almost 2 years ago

Problem/Motivation

Recent (?) changes at LinkedIn now allow company profiles, the more common shared url of a businesses with linkedin accounts. The URL created by RRSB comes up as "linkedin.com/in/xxxxxxx'. In my case, the url is:
"Https://www.linkedin.com/in//company/xxxxxxx" [note 2 forward slashes also]

Steps to reproduce

Acquire your 'Company profile' from LinkedIn. Note the URL, chop off the domain portion. Enter it into a 'Follow' field for linkedin and enable the button.
Hover or Click the button and review the URL.

Workaround

Hand edit or patch the rrssb.config.inc file to override URLs. (see my attachment for model I used for both Youtube and LinkedIn)

Proposed resolution

I suspect it can be either a 'in' (which I think is Individual) or a 'company' (which is a profile) so 2 LinkedIn buttons, one for each type with the properly formatted prefix from RRSB. Or, more work but better solution, parse the incoming url received from the GUI, parse for 'company/' or 'In/' and branch your concatenation.

Please note this is a nearly identical feature request to #3169784 - the addition of Youtube Channel.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

2.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jshimota01 Portland, OR

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡§United Kingdom adamps

    Thanks.

    The file in #3 would need to be converted to a patch (please search the Internet for explanation if you don't know how).

    We can't just remove the possibility of 'in' pages. I can see 3 options:

    1. A separate entry for every type of page - but could be quite a lot: school, university, ....
    2. Make the base part be without any 'company' or 'in', and put that into the 'username'. In this case we would need an update hook to change existing sites.
    3. Add a new GUI field to choose the type from a dropdown list. This is the most complex to code.
Production build 0.71.5 2024