Item11098: Update LinkedInPlugin to use revised api. Prior api no longer works.

Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: LinkedInPlugin
Reported By: WikiGuest
Waiting For:
Last Change By: SvenDowideit
Apparently, LinkedIn has changed their api for displaying user profiles on sites. Their page on Profile Widget says that it will no longer be supported and refers to Member Profile plugin instead.

After looking into the LinkedInPlugin structure, I found the LinkedinTemplate topic and experimented revising the profile template definition as follows:
%TMPL:DEF{"profile"}%%ADDTOZONE{"script" text="<script src='' type='text/javascript'></script>"}%
<script type="IN/MemberProfile" data-id="%URL%" data-format="inline"></script>

Seems to have worked but I notice that it doesn't use the =%TYPE% macro used in the original format. I don't know if this matters. I thought I'd wait to get feedback from plugin author before committing any changes.

-- LynnwoodBrown - 01 Sep 2011

gads, what a horrid change they made to the API.

oh well, updated (data-format == =%TYPE% though they've also changed the type names.)

-- SvenDowideit - 08 Sep 2011


ItemTemplate edit

Summary Update LinkedInPlugin to use revised api. Prior api no longer works.
ReportedBy WikiGuest
SVN Range
AppliesTo Extension
Component LinkedInPlugin
Priority Normal
CurrentState Closed
Checkins LinkedInPlugin:13da8cb5fbb3
TargetRelease n/a
ReleasedIn n/a
Topic revision: r2 - 08 Sep 2011, SvenDowideit
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy