Collaborama About Help Contact Anonymous [login] Source: site.view [edit] Function name: getConnections Arguments: Description: Page type: snippet Render function: Module: skillsrank Page source: <webl> WubCall("incHeader", []); </webl> <webl> WubCall("incTop", ["play"]); </webl> <!-- content here ============================================================ --> <a name="content"></a> <h1>Play SkillsRank</h1> <webl> var accessToken = (Wub_GetVaultValue("skillsrankLinkedInToken") ? nil); if (accessToken != nil) then var ok = WubCall("cmdGetConnections", []); if ok == true then // wubvars.connectionsLoaded := true; Wub_SetVaultValue("skillsrankLinkedInLoaded", true); "Connection Loaded!<p>" + `Click <a href="/webl/WubHub_DoIt?cmdline=skillsrank.play">here</a> to start playing!` else "Error getting connections" end else "No access token" end </webl> </div> <webl> WubCall("incBottom", []); </webl> <webl> WubCall("incSidemenuNavSite", ["play"]); </webl> <webl> WubCall("incFooter", []); </webl>