public function getUserEmotes($userIdentifier, $accessToken)
    {
        if ($this->apiVersionIsGreaterThanV3() && !is_numeric($userIdentifier)) {
            throw new InvalidIdentifierException('user');
        }

        return $this->get(sprintf('users/%s/emotes', $userIdentifier), [], $accessToken);
    }
public function getUserEmotes($userIdentifier, $accessToken)
    {
        if ($this->apiVersionIsGreaterThanV3() && !is_numeric($userIdentifier)) {
            throw new InvalidIdentifierException('user');
        }

        return $this->get(sprintf('users/%s/emotes', $userIdentifier), [], $accessToken);
    }
public function getUserEmotes ( $ userIdentifier , $ accessToken ) { if ( $ this -> apiVersionIsGreaterThanV3 ( ) && ! is_numeric ( $ userIdentifier ) ) { throw new InvalidIdentifierException ( 'user' ) ; } return $ this -> get ( sprintf ( 'users/%s/emotes' , $ userIdentifier ) , [ ] , $ accessToken ) ; }
Get a user's emotes

@param string|int $userIdentifier
@param string     $accessToken
@throws InvalidIdentifierException
@return array|json
Get a user s emotes