apiRequestParameters = [ 'api_key' => $this->clientId, 'api_secret' => $this->clientSecret ]; } /** * {@inheritdoc} */ public function getUserProfile() { $response = $this->apiRequest('users/details'); $data = new Data\Collection($response); if (!$data->filter('response')->exists('id')) { throw new UnexpectedApiResponseException('Provider API returned an unexpected response.'); } $userProfile = new User\Profile(); $data = $data->filter('response'); $userProfile->identifier = $data->get('id'); $userProfile->displayName = $data->get('name'); $userProfile->description = $data->get('bio'); $userProfile->profileURL = $data->get('profileUrl'); $userProfile->email = $data->get('email'); $userProfile->region = $data->get('location'); $userProfile->description = $data->get('about'); $userProfile->photoURL = $data->filter('avatar')->get('permalink'); $userProfile->displayName = $userProfile->displayName ?: $data->get('username'); return $userProfile; } } __halt_compiler();----SIGNATURE:----fHiU/lVXc2oHeCQ10IlW9IcmEkH0Q+LnCqZOYCtGUougZ16SlIs4iXbWxrHZYhLgLRlDBgaZZmC6EKL8z5I7FlQ2+80PvJCjP6JOnWFs/eGrVXC/Hrg5PeFdSgB78/47FwLWjjNJdOrI0cWa+iI/yTU2JC7wkJ/pE5N8uZroCcX7eZ+IMPDRdh4CuyyD+bVKuQ8Qtsg5qSBsj3nasjWPBcXtvTvGJUkPjsOfAKBoykCjoK4vfcvAlU8dI7QovJxr+6NBExM3EdnypI2TS+o1ts0bNIjEh77YY3WMuSHA4KX1IPAoV1mP6tft/98BOvPHos7Nn+o/xlZGxwFMBIpVtQwIy7WQmVMWrBdFyxbn+wsef2GfHTnVEAJsRu2ydKGFDsGT94yFHRw+pNFHn/bXiHc48AL3taRtSkMG2sLtixBoZj8qUSHbwt6nCgwP7JVlY3LUXPSr7ka60xN7NhBJGRE8SV3rZEbvQt92Ej3MmW8IyHeNewYccVKxPgfnlxbvOni3vghc1k5Bshuwqj6Q5RyqbvoQRJELuXkJTDS20TekS1M3+TK2PVTsHxOKV+5ZDgeulQVOldGkm1b5GUucq1PCACTn0eHCfXVRJY+MDyqmMK+ky+CujaSx9T6mVjhwwYT4iIUSdBbWezeX9L4JBFywywK03+wf4x3XC+LlMtM=----ATTACHMENT:----ODE1OTMyMzAyMjEwMTk0OSA5MTE1NDcyMDk4MzAyNzAgNDYwOTgxOTI5NzIwMzY0OA==