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
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='http://platform.linkedin.com/in.js' type='text/javascript'></script>"}%
<script type="IN/MemberProfile" data-id="%URL%" data-format="inline"></script>
%TMPL:END%
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