Esempio n. 1
0
     }
 }
 if (in_array($UserProfileData->Provider, array('facebook', 'google', 'live', 'vkontakte'))) {
     try {
         $UserVideos = $loginradius->loginradius_get_videos($lraccesstoken);
     } catch (LoginRadiusException $e) {
         echo ' Videos API :- ';
         echo $e->getMessage() . '<br>';
     }
     if (isset($UserVideos->isProviderError)) {
         $UserVideos = '';
     }
 }
 if (in_array($UserProfileData->Provider, array('facebook'))) {
     try {
         $UserLikes = $loginradius->loginradius_get_likes($lraccesstoken);
     } catch (LoginRadiusException $e) {
         echo ' Likes API :- ';
         echo $e->getMessage() . '<br>';
     }
 }
 if (in_array($UserProfileData->Provider, array('facebook', 'twitter', 'linkedin'))) {
     $post_status = true;
 }
 if (in_array($UserProfileData->Provider, array('twitter', 'linkedin'))) {
     $sendmessage = true;
 }
 ?>
         <div style=" margin: 0 auto; padding: 40px">
             <ul class="tabs" data-persist="true">
                 <li><a href="#view1">Profile</a></li>