NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

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

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Extension LinkedInPlugin  
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

 

ItemTemplate edit

Summary Update LinkedInPlugin to use revised api. Prior api no longer works.
ReportedBy WikiGuest
Codebase
SVN Range
AppliesTo Extension
Component LinkedInPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:12488
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 CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads