/**
  * @param AbstractClientToken $token
  */
 protected function initializeUserData(AbstractClientToken $token)
 {
     $credentials = $token->getCredentials();
     $this->instagramApiClient->setCurrentAccessToken($credentials['accessToken']);
     $this->authenticationServicesUserData[(string) $token] = $this->instagramApiClient->query('/users/self')['data'];
 }
 /**
  * @param AbstractClientToken $token
  */
 protected function initializeUserData(AbstractClientToken $token)
 {
     $credentials = $token->getCredentials();
     $this->facebookApiClient->setCurrentAccessToken($credentials['accessToken']);
     $content = $this->facebookApiClient->query('/me')->getContent();
     $this->authenticationServicesUserData[(string) $token] = json_decode($content, TRUE);
 }