echo $KloutScore; ?> </span> <div class="hovercard"></div> </div> </div> <?php // Get Score Changes $dayChanges = $klout->KloutScoreChanges($kloutid, "day"); $weekChanges = $klout->KloutScoreChanges($kloutid, "week"); $monthChanges = $klout->KloutScoreChanges($kloutid, "month"); echo "Day: " . $dayChanges . "<br />"; echo "Week: " . $weekChanges . "<br />"; echo "Month: " . $monthChanges . "<br />"; // Get Topics $result = $klout->KloutUserTopics($kloutid); $topics = json_decode($result); foreach ($topics as $topic) { echo "<div class=\"topic\">\n"; echo " <a href=\"http://klout.com/" . $topic->slug . "\" target=\"_blank\"><img src=\"" . $topic->imageUrl . "\" /></a>\n"; echo " <a href=\"http://klout.com/" . $topic->slug . "\" target=\"_blank\">" . $topic->displayName . "</a>\n"; echo "</div>"; } echo "<hr />\n"; // Get Influencers $result = $klout->KloutUserInfluence($kloutid); $influencers = json_decode($result); echo "<ul class=\"mini-user-list clearfix\">\n"; foreach ($influencers->myInfluencers as $influencer) { $handle = $klout->KloutUser($influencer->entity->payload->kloutId); $handle = json_decode($handle);