} catch (LoginRadiusException $e) { echo ' Photo API :- '; echo $e->getMessage() . '<br>'; } } if (in_array($UserProfileData->Provider, array('facebook', 'google', 'live', 'vkontakte', 'renren'))) { try { $UserPhotoalbums = $loginradius->loginradius_get_photo_albums($lraccesstoken); } catch (LoginRadiusException $e) { echo ' Photo Albums API :- '; echo $e->getMessage() . '<br>'; } } if (in_array($UserProfileData->Provider, array('foursquare', 'vkontakte'))) { try { $UserCheckins = $loginradius->loginradius_get_checkins($lraccesstoken); } catch (LoginRadiusException $e) { echo ' Checkins API :- '; echo $e->getMessage() . '<br>'; } } if (in_array($UserProfileData->Provider, array('live', 'vkontakte'))) { try { $UserAudio = $loginradius->loginradius_get_audio($lraccesstoken); } catch (LoginRadiusException $e) { echo ' Audio API :- '; echo $e->getMessage() . '<br>'; } } if (in_array($UserProfileData->Provider, array('facebook', 'google', 'twitter', 'linkedin', 'yahoo', 'live', 'vkontakte', 'foursquare', 'renren'))) { try {